From: Matthias Maier Date: Wed, 2 Feb 2022 13:06:16 +0000 (-0600) Subject: CMake: Properly handle FEATURE_EXECUTABLE X-Git-Tag: v9.4.0-rc1~521^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=852531ac4249ee61e93dc7bb85574da869782540;p=dealii.git CMake: Properly handle FEATURE_EXECUTABLE --- 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})