forked from mirrors/nixpkgs
19 lines
769 B
Diff
19 lines
769 B
Diff
diff --git a/cmake/CorrosionConfig.cmake.in b/cmake/CorrosionConfig.cmake.in
|
|
index c042a00..491f53c 100644
|
|
--- a/cmake/CorrosionConfig.cmake.in
|
|
+++ b/cmake/CorrosionConfig.cmake.in
|
|
@@ -4,11 +4,11 @@ if (Corrosion_FOUND)
|
|
return()
|
|
endif()
|
|
|
|
-list(APPEND CMAKE_MODULE_PATH "${PACKAGE_PREFIX_DIR}/@CORROSION_INSTALL_PREFIX@@CMAKE_INSTALL_DATADIR@/cmake")
|
|
+list(APPEND CMAKE_MODULE_PATH "@CMAKE_INSTALL_FULL_DATADIR@/cmake")
|
|
|
|
add_executable(Corrosion::Generator IMPORTED GLOBAL)
|
|
set_property(
|
|
TARGET Corrosion::Generator
|
|
- PROPERTY IMPORTED_LOCATION "${PACKAGE_PREFIX_DIR}/@CORROSION_INSTALL_PREFIX@@CMAKE_INSTALL_LIBEXECDIR@/corrosion-generator")
|
|
+ PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_FULL_LIBEXECDIR@/corrosion-generator")
|
|
|
|
include(Corrosion)
|