]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use more intuitive default path for GMSH_LIBRARY_DIR
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 12 May 2021 18:28:07 +0000 (13:28 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 12 May 2021 18:48:25 +0000 (13:48 -0500)
cmake/modules/FindGMSH.cmake

index f88a4aec5634ed233cd202cac5b39d7a439e8871..4f2faa56da73726266ed64594078353c3e868522 100644 (file)
@@ -28,7 +28,7 @@ SET(GMSH_DIR "" CACHE PATH "An optional hint to a Gmsh installation containing t
 SET_IF_EMPTY(GMSH_DIR "$ENV{GMSH_DIR}")
 
 SET(GMSH_LIBRARY_DIR "" CACHE PATH "An optional hint to a Gmsh SDK installation")
-SET_IF_EMPTY(GMSH_LIBRARY_DIR "$ENV{GMSH_DIR}")
+SET_IF_EMPTY(GMSH_LIBRARY_DIR "${GMSH_DIR}")
 
 DEAL_II_FIND_PROGRAM(GMSH_EXE gmsh${CMAKE_EXECUTABLE_SUFFIX}
   HINTS ${GMSH_DIR}

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.