Skip to content

Commit

Permalink
CMake: Properly handle FEATURE_EXECUTABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Feb 2, 2022
1 parent 60fabd1 commit bed97fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/setup_deal_ii.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down
2 changes: 1 addition & 1 deletion cmake/setup_write_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit bed97fd

Please sign in to comment.