File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,13 +154,13 @@ endif()
154
154
# TODO This should actually be a submodule of pagmo.
155
155
# The only reason to have it here is to avoid forking pagmo as well.
156
156
set (TBB_BUILD_TESTS OFF CACHE BOOL "" FORCE )
157
- set (TBB_BUILD_SHARED OFF CACHE BOOL "" FORCE )
158
- set (TBB_BUILD_STATIC ON CACHE BOOL "" FORCE )
157
+ set (TBB_BUILD_SHARED ON CACHE BOOL "" FORCE )
158
+ set (TBB_BUILD_STATIC OFF CACHE BOOL "" FORCE )
159
159
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /ThirdParty/tbb EXCLUDE_FROM_ALL )
160
160
set (TBB_FOUND TRUE )
161
- set (TBB_LIBRARIES tbb_static tbb_interface )
161
+ set (TBB_LIBRARIES tbb tbb_interface )
162
162
set (TBB_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} /ThirdParty/tbb/include )
163
- add_library (TBB::tbb ALIAS tbb_static )
163
+ add_library (TBB::tbb ALIAS tbb )
164
164
add_library (TBB::tbb_interface ALIAS tbb_interface )
165
165
install (TARGETS ${TBB_LIBRARIES} EXPORT pagmo_export
166
166
LIBRARY DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
You can’t perform that action at this time.
0 commit comments