From: Marc Fehling Date: Sun, 23 Apr 2023 01:33:05 +0000 (-0600) Subject: Cleaned up CMakeLists of parallel_in_time. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f2375e55df1309fbd92e0a7de9bfbc7df4ec76f;p=code-gallery.git Cleaned up CMakeLists of parallel_in_time. --- diff --git a/parallel_in_time/CMakeLists.txt b/parallel_in_time/CMakeLists.txt index 004d629..464b97d 100644 --- a/parallel_in_time/CMakeLists.txt +++ b/parallel_in_time/CMakeLists.txt @@ -48,24 +48,16 @@ IF(NOT ${deal.II_FOUND}) ENDIF() # Find braid details -IF(NOT "$ENV{BRAID_DIR}" STREQUAL "") - SET(BRAID_DIR "$ENV{BRAID_DIR}" CACHE INTERNAL "Copied BRAID_DIR from environment variable") -ENDIF() - -IF("${CMAKE_FIND_LIBRARY_PREFIXES}" STREQUAL "") - SET(CMAKE_FIND_LIBRARY_PREFIXES "lib") -ENDIF() +SET(BRAID_DIR "$ENV{BRAID_DIR}" CACHE INTERNAL "Copied BRAID_DIR from environment variable") FIND_PATH(BRAID_INCLUDE_DIR NAMES braid.h HINTS ${BRAID_DIR} - PATH_SUFFIXES include ) FIND_LIBRARY(BRAID_LIBRARY - NAMES braid.a + NAMES libbraid.a HINTS ${BRAID_DIR} - PATH_SUFFIXES lib64 lib ) MESSAGE(STATUS "Braid include directory: ${BRAID_INCLUDE_DIR}")