]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Properly handle FEATURE_EXECUTABLE
authorMatthias Maier <tamiko@43-1.org>
Wed, 2 Feb 2022 13:06:16 +0000 (07:06 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sat, 5 Feb 2022 20:59:37 +0000 (14:59 -0600)
cmake/setup_deal_ii.cmake
cmake/setup_write_config.cmake

index a167073e76d2401cc60d181cb1ca300bbfab378d..ed052c8a67c4214f248725304da62b8ff4daedb3 100644 (file)
@@ -139,8 +139,8 @@ SET(DEAL_II_LIST_SUFFIXES
   )
 
 SET(DEAL_II_STRING_SUFFIXES
-  CXX_FLAGS CXX_FLAGS_RELEASE CXX_FLAGS_DEBUG
-  LINKER_FLAGS LINKER_FLAGS_RELEASE LINKER_FLAGS_DEBUG
+  EXECUTABLE CXX_FLAGS CXX_FLAGS_RELEASE CXX_FLAGS_DEBUG LINKER_FLAGS
+  LINKER_FLAGS_RELEASE LINKER_FLAGS_DEBUG
   )
 
 
index 430c97b5fdcd6d4e3943d9ba6ad6a6fcf86d73ed..47341d41372ad20404469c85f7b2ff674db9e13d 100644 (file)
@@ -244,7 +244,7 @@ FOREACH(_feature ${_deal_ii_features_sorted})
     # Print the feature configuration:
     #
     FOREACH(_var2
-      C_COMPILER CXX_COMPILER Fortran_COMPILER EXE WITH_64BIT_BLAS_INDICES
+      C_COMPILER CXX_COMPILER Fortran_COMPILER WITH_64BIT_BLAS_INDICES
       ${DEAL_II_STRING_SUFFIXES} ${DEAL_II_LIST_SUFFIXES}
       )
       IF(DEFINED ${_feature}_${_var2})

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.