Always add benchmark definitions

This commit is contained in:
Julian Stahl 2022-09-21 01:03:19 +02:00
parent 9196bad565
commit fe43c7f09c
1 changed files with 5 additions and 4 deletions

View File

@ -12,8 +12,9 @@ find_package(TBB)
include(CGAL_TBB_support)
if(TARGET CGAL::TBB_support)
target_link_libraries(benchmark PUBLIC CGAL::TBB_support)
target_compile_definitions(benchmark PUBLIC ${SCENARIO})
target_compile_definitions(benchmark PUBLIC ${KERNEL})
target_compile_definitions(benchmark PUBLIC ${ALGO})
target_compile_definitions(benchmark PUBLIC ${TAG})
endif()
target_compile_definitions(benchmark PUBLIC ${SCENARIO})
target_compile_definitions(benchmark PUBLIC ${KERNEL})
target_compile_definitions(benchmark PUBLIC ${ALGO})
target_compile_definitions(benchmark PUBLIC ${TAG})