early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/pagmo2/find-tbb.patch
vendored
Executable file
12
externals/vcpkg/ports/pagmo2/find-tbb.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/pagmo-config.cmake.in b/pagmo-config.cmake.in
|
||||
index 9553fc8..cb5e90b 100644
|
||||
--- a/pagmo-config.cmake.in
|
||||
+++ b/pagmo-config.cmake.in
|
||||
@@ -8,6 +8,7 @@ set(THREADS_PREFER_PTHREAD_FLAG YES)
|
||||
find_package(Threads REQUIRED)
|
||||
unset(THREADS_PREFER_PTHREAD_FLAG)
|
||||
include(PagmoFindBoost)
|
||||
+find_package(TBB REQUIRED)
|
||||
@_PAGMO_CONFIG_OPTIONAL_DEPS@
|
||||
# Restore original module path.
|
||||
set(CMAKE_MODULE_PATH "${_PAGMO_CONFIG_OLD_MODULE_PATH}")
|
||||
Reference in New Issue
Block a user