vcpkg/ports/pagmo2/find-tbb.patch
David Millard a8a07972db
[pagmo2] Add new port (#15682)
* [pagmo2] Add new port

* Disable C4701

* Disable /MD override for all static builds

* Add pagmo2 port_version info

* Find TBB when finding pagmo

* Fixup pagmo2 port version

* Change /Md patch to if(0)

* Fix port_version for pagmo2

* Use vcpkg.json; use version

* Reformat vcpkg.json

* Fix port_versions for pagmo2
2021-01-20 12:51:57 -08:00

13 lines
442 B
Diff

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}")