Skip to content

Commit

Permalink
Add std=c++11 explicitly for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Nov 21, 2017
1 parent 627cb24 commit 9ba05bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Test7Zip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,31 @@ set(test7zipcallback_SOURCES

add_executable(test7zip ${test7zip_SOURCES})
target_link_libraries(test7zip 7zip)
target_compile_options(test7zip PRIVATE -std=c++11)

add_executable(test7zip2 ${test7zip_SOURCES})
target_link_libraries(test7zip2 7zip)
target_compile_options(test7zip2 PRIVATE -std=c++11)

add_executable(test7zipmulti ${test7zipmulti_SOURCES})
target_link_libraries(test7zipmulti 7zip)
target_compile_options(test7zipmulti PRIVATE -std=c++11)

add_executable(test7zcrypt ${test7zcrypt_SOURCES})
target_link_libraries(test7zcrypt 7zip)
target_compile_options(test7zcrypt PRIVATE -std=c++11)

add_executable(test7zipsig ${test7zipsig_SOURCES})
target_link_libraries(test7zipsig 7zip)
target_compile_options(test7zipsig PRIVATE -std=c++11)

add_executable(test7ziprar5 ${test7ziprar5_SOURCES})
target_link_libraries(test7ziprar5 7zip)
target_compile_options(test7ziprar5 PRIVATE -std=c++11)

add_executable(test7zipcallback ${test7zipcallback_SOURCES})
target_link_libraries(test7zipcallback 7zip)
target_compile_options(test7zipcallback PRIVATE -std=c++11)

configure_file(${SRC}/Test7Zip.7z ${CMAKE_CURRENT_BINARY_DIR}/Test7Zip.7z COPYONLY)
configure_file(${SRC}/Test7Zip.zip ${CMAKE_CURRENT_BINARY_DIR}/Test7Zip.zip COPYONLY)
Expand Down

0 comments on commit 9ba05bf

Please sign in to comment.