Implement issue #923: Make boost timer optional

This commit is contained in:
Arvid Norlander
2020-10-16 10:51:49 +02:00
parent 44aa90eb50
commit 04726a5acf
2 changed files with 7 additions and 5 deletions

View File

@@ -22,10 +22,12 @@ IF (NOT MSVC)
)
ENDIF ()
LIST (APPEND with_boost_lib_PROGRAMS
speed_test.cpp
speed_test_nested_array.cpp
)
if (Boost_TIMER_LIBRARY)
LIST (APPEND with_boost_lib_PROGRAMS
speed_test.cpp
speed_test_nested_array.cpp
)
endif()
FOREACH (source_file ${exec_PROGRAMS})
GET_FILENAME_COMPONENT (source_file_we ${source_file} NAME_WE)