From 9a2305e0208439798d5adbadde02cebbc64fb15c Mon Sep 17 00:00:00 2001 From: Mario Badr Date: Tue, 29 Nov 2016 11:40:47 -0500 Subject: [PATCH] Merge in unicode fixes --- src/CMakeLists.txt | 4 +--- test/CMakeLists.txt | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ae6e7bf..030ca95 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,9 +20,7 @@ if(CXXOPTS_BUILD_EXAMPLES) add_executable(example example.cpp) - target_link_libraries(example cxxopts) - - target_link_libraries(example ${CXXOPTS_LINKER_LIBRARIES}) + target_link_libraries(example cxxopts ${CXXOPTS_LINKER_LIBRARIES}) if (MSVC) target_compile_options(example PUBLIC /W2) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cb126f8..c7a09e1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,8 +1,6 @@ if (CXXOPTS_BUILD_TESTS) add_executable(options_test options.cpp) - target_link_libraries(options_test cxxopts) - - target_link_libraries(options_test ${CXXOPTS_LINKER_LIBRARIES}) + target_link_libraries(options_test cxxopts ${CXXOPTS_LINKER_LIBRARIES}) if (MSVC) target_compile_options(options_test PUBLIC /W2)