mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 06:47:50 +08:00
19 lines
664 B
Diff
19 lines
664 B
Diff
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)
|