From 852531ac4249ee61e93dc7bb85574da869782540 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 2 Feb 2022 07:06:16 -0600 Subject: [PATCH] CMake: Properly handle FEATURE_EXECUTABLE --- cmake/setup_deal_ii.cmake | 4 ++-- cmake/setup_write_config.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/setup_deal_ii.cmake b/cmake/setup_deal_ii.cmake index a167073e76..ed052c8a67 100644 --- a/cmake/setup_deal_ii.cmake +++ b/cmake/setup_deal_ii.cmake @@ -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 ) diff --git a/cmake/setup_write_config.cmake b/cmake/setup_write_config.cmake index 430c97b5fd..47341d4137 100644 --- a/cmake/setup_write_config.cmake +++ b/cmake/setup_write_config.cmake @@ -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}) -- 2.39.5