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()
154154# TODO This should actually be a submodule of pagmo.
155155# The only reason to have it here is to avoid forking pagmo as well.
156156set (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 )
159159add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /ThirdParty/tbb EXCLUDE_FROM_ALL )
160160set (TBB_FOUND TRUE )
161- set (TBB_LIBRARIES tbb_static tbb_interface)
161+ set (TBB_LIBRARIES tbb tbb_interface)
162162set (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 )
164164add_library (TBB::tbb_interface ALIAS tbb_interface )
165165install (TARGETS ${TBB_LIBRARIES} EXPORT pagmo_export
166166 LIBRARY DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
You can’t perform that action at this time.
0 commit comments