Skip to content

Commit

Permalink
CMake: Set ENABLE_EXPORTS
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Oct 27, 2023
1 parent 483428e commit 3cdefc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function(tbb_add_test)
# Define the target for test
add_executable(${_tbb_test_TARGET_NAME} ${_tbb_test_SUBDIR}/${_tbb_test_NAME}.cpp)
target_include_directories(${_tbb_test_TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR})
set_property(TARGET ${_tbb_test_TARGET_NAME} PROPERTY ENABLE_EXPORTS TRUE)

target_compile_options(${_tbb_test_TARGET_NAME}
PRIVATE
Expand Down

0 comments on commit 3cdefc1

Please sign in to comment.