mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
sci-libs/Mutationpp: new package, add 1.0.5
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
31
sci-libs/Mutationpp/files/Mutationpp-1.0.5-system-libs.patch
Normal file
31
sci-libs/Mutationpp/files/Mutationpp-1.0.5-system-libs.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- 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()
|
||||
Reference in New Issue
Block a user