From abbb88e82eb7bf307b6061c3a5b8dacaacc05054 Mon Sep 17 00:00:00 2001 From: Mario Badr Date: Wed, 30 Nov 2016 09:28:10 -0500 Subject: [PATCH] Remove superfluous PRIVATE links from executables --- src/CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 76b2d50..9a79b08 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,7 +20,7 @@ if(CXXOPTS_BUILD_EXAMPLES) add_executable(example example.cpp) - target_link_libraries(example PRIVATE cxxopts) + target_link_libraries(example cxxopts) if (MSVC) target_compile_options(example PUBLIC /W2) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e738b11..19aa960 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,6 @@ if (CXXOPTS_BUILD_TESTS) add_executable(options_test options.cpp) - target_link_libraries(options_test PRIVATE cxxopts) + target_link_libraries(options_test cxxopts) if (MSVC) target_compile_options(options_test PUBLIC /W2)