Files
guru/sci-libs/Mutationpp/files/Mutationpp-1.0.5-system-libs.patch
Alessandro Barbieri 666ca1bcd3 sci-libs/Mutationpp: new package, add 1.0.5
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-24 19:36:36 +02:00

32 lines
911 B
Diff

--- a/cmake/modules/FindCatch2.cmake
+++ b/cmake/modules/FindCatch2.cmake
@@ -33,7 +33,6 @@
"/usr/include"
"$ENV{CPLUS_INCLUDE_PATH}"
"$ENV{CPATH}"
- "${CMAKE_SOURCE_DIR}/thirdparty/catch"
)
# First try to use the standard find_package that should be able to find the
--- a/cmake/modules/FindEigen3.cmake
+++ b/cmake/modules/FindEigen3.cmake
@@ -34,7 +34,6 @@
"/usr/include"
"$ENV{CPLUS_INCLUDE_PATH}"
"$ENV{CPATH}"
- "${CMAKE_SOURCE_DIR}/thirdparty/eigen"
)
# First try to use the standard find_package that should be able to find the
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,7 @@
#######################################################################
if (SKBUILD)
- add_subdirectory(thirdparty/pybind11)
+ find_package(pybind11 REQUIRED)
add_subdirectory(interface/python)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()