From: Daniel Arndt Date: Wed, 12 May 2021 18:28:07 +0000 (-0500) Subject: Use more intuitive default path for GMSH_LIBRARY_DIR X-Git-Tag: v9.3.0-rc1~82^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7e47083bc91109403008fb123cf4861919d676;p=dealii.git Use more intuitive default path for GMSH_LIBRARY_DIR --- diff --git a/cmake/modules/FindGMSH.cmake b/cmake/modules/FindGMSH.cmake index f88a4aec56..4f2faa56da 100644 --- a/cmake/modules/FindGMSH.cmake +++ b/cmake/modules/FindGMSH.cmake @@ -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}