Skip to content

Commit

Permalink
Remove use of BOOST_ALL_DYN_LINK
Browse files Browse the repository at this point in the history
Since we are using header only parts using BOOST_ALL_NO_LIB
  • Loading branch information
isuruf committed Jan 24, 2024
1 parent 9b052b1 commit 216eec2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test-suite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ if (QL_BUILD_TEST_SUITE)
add_executable(ql_test_suite ${QL_TEST_SOURCES} ${QL_TEST_HEADERS})
set_target_properties(ql_test_suite PROPERTIES OUTPUT_NAME "quantlib-test-suite")
set_source_files_properties(quantlibtestsuite.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION true)
if (NOT Boost_USE_STATIC_LIBS)
target_compile_definitions(ql_test_suite PRIVATE BOOST_ALL_DYN_LINK)
endif()
target_link_libraries(ql_test_suite PRIVATE
ql_library
${QL_THREAD_LIBRARIES})
Expand All @@ -235,9 +232,6 @@ IF (QL_BUILD_BENCHMARK)
add_executable(ql_benchmark ${QL_BENCHMARK_SOURCES})
set_target_properties(ql_benchmark PROPERTIES OUTPUT_NAME "quantlib-benchmark")
set_source_files_properties(quantlibbenchmark.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION true)
if (NOT Boost_USE_STATIC_LIBS)
target_compile_definitions(ql_benchmark PRIVATE BOOST_ALL_DYN_LINK)
endif()
target_link_libraries(ql_benchmark PRIVATE
ql_library
${QL_THREAD_LIBRARIES})
Expand Down

0 comments on commit 216eec2

Please sign in to comment.