Remove superfluous PRIVATE links from executables
This commit is contained in:
parent
95a2a3dc7e
commit
abbb88e82e
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user