]> https://gitweb.dealii.org/ - candi.git/commitdiff
Fix path to installed CMake files. 299/head
authorDavid Wells <drwells@email.unc.edu>
Fri, 24 Jun 2022 18:29:26 +0000 (14:29 -0400)
committerDavid Wells <drwells@email.unc.edu>
Fri, 24 Jun 2022 18:29:26 +0000 (14:29 -0400)
deal.II-toolchain/packages/cmake.package

index 9788cde4e644ce4c0a18431dea08102da2840fa3..813a9411ff37b7d6a6650fefc2b8731c4f751d8a 100644 (file)
@@ -45,7 +45,7 @@ fi
 
 package_specific_register () {
     export PATH=${INSTALL_PATH}/bin:${PATH}
-    export CMAKE_ROOT=${INSTALL_PATH}/share/${MAJOR}
+    export CMAKE_ROOT=${INSTALL_PATH}/share/cmake-${MAJOR}
 }
 
 package_specific_conf () {
@@ -54,6 +54,6 @@ package_specific_conf () {
     rm -f $CONFIG_FILE
     echo "
 export PATH=${INSTALL_PATH}/bin:\${PATH}
-export CMAKE_ROOT=${INSTALL_PATH}/share/${MAJOR}
+export CMAKE_ROOT=${INSTALL_PATH}/share/cmake-${MAJOR}
 " >> $CONFIG_FILE
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.