]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Cleaned up CMakeLists of parallel_in_time.
authorMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 01:33:05 +0000 (19:33 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 04:05:55 +0000 (22:05 -0600)
parallel_in_time/CMakeLists.txt

index 004d629cffc58b5712b3c42ea3c7c8a27630c9b1..464b97dbce491c92658785c94dd3108920cbb130 100644 (file)
@@ -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}")

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.