diff options
Diffstat (limited to 'cmake/examples/boost')
-rw-r--r-- | cmake/examples/boost/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/examples/boost/CMakeLists.txt b/cmake/examples/boost/CMakeLists.txt index 87fcc4e..b73fcee 100644 --- a/cmake/examples/boost/CMakeLists.txt +++ b/cmake/examples/boost/CMakeLists.txt @@ -6,6 +6,6 @@ include(../../common.cmake) find_package(Boost REQUIRED COMPONENTS filesystem) add_executable(foo foo.cpp) -target_link_libraries(foo PRIVATE Boost::filesystem) +target_link_libraries(foo PRIVATE Boost::disable_autolinking Boost::filesystem) install(TARGETS foo RUNTIME DESTINATION bin) |