aboutsummaryrefslogtreecommitdiff
path: root/ports/eigen3/disable_pkgconfig_absolute_path_check.patch
blob: cfa964340597747a794cfc4fbb5a7993cc98ef1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dbb9bcf..84c413c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -407,11 +407,13 @@ set(PKGCONFIG_INSTALL_DIR
     CACHE STRING "The directory relative to CMAKE_PREFIX_PATH where eigen3.pc is installed"
     )
 
+if(0)
 foreach(var INCLUDE_INSTALL_DIR CMAKEPACKAGE_INSTALL_DIR PKGCONFIG_INSTALL_DIR)
   if(IS_ABSOLUTE "${${var}}")
     message(FATAL_ERROR "${var} must be relative to CMAKE_PREFIX_PATH. Got: ${${var}}")
   endif()
 endforeach()
+endif()
 
 # similar to set_target_properties but append the property instead of overwriting it
 macro(ei_add_target_property target prop value)