Skip to content

Commit

Permalink
Link against non-debug deal.II for RelWithDebInfo build
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Jul 12, 2019
1 parent 93c5cec commit 5813556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/SetupTPLs.cmake
Expand Up @@ -48,7 +48,7 @@ ENDIF()
# enable dealii::Assert in header files.
STRING(FIND "${DEAL_II_LIBRARIES}" "general" SINGLE_DEAL_II)
IF (${SINGLE_DEAL_II} EQUAL -1)
IF(CMAKE_BUILD_TYPE MATCHES "Release")
IF(CMAKE_BUILD_TYPE MATCHES "Release" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo")
SET(DEAL_II_LIBRARIES ${DEAL_II_LIBRARIES_RELEASE})
ELSE()
SET(DEAL_II_LIBRARIES ${DEAL_II_LIBRARIES_DEBUG})
Expand Down

0 comments on commit 5813556

Please sign in to comment.