mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
32 lines
911 B
Diff
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()
|