From fe7e47083bc91109403008fb123cf4861919d676 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 12 May 2021 13:28:07 -0500 Subject: [PATCH] Use more intuitive default path for GMSH_LIBRARY_DIR --- cmake/modules/FindGMSH.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.5