From 2d6f17241ae532f637a73dec1059da5a76b98669 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 26 Jan 2021 18:28:49 +0000 Subject: [PATCH] Install correctly for RelWithDebInfo build configurations --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67a9bb827..3621b2897 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1662,7 +1662,7 @@ endif (NOT WIN32 AND NOT APPLE) # -# bundle fixup only done in Release or MinSizeRel configurations +# bundle fixup only done in non-Debug configurations # if (NOT is_debug_build) @@ -1709,7 +1709,7 @@ if (NOT is_debug_build) ${QT_PLUGINS_DIR}/imageformats ${QT_PLUGINS_DIR}/styles DESTINATION ${WSJT_PLUGIN_DESTINATION} - CONFIGURATIONS Release MinSizeRel + CONFIGURATIONS Release MinSizeRel RelWithDebInfo #COMPONENT runtime FILES_MATCHING PATTERN "*${CMAKE_SHARED_LIBRARY_SUFFIX}" PATTERN "*minimal*${CMAKE_SHARED_LIBRARY_SUFFIX}" EXCLUDE @@ -1723,7 +1723,7 @@ if (NOT is_debug_build) FILES ${QT_PLUGINS_DIR}/sqldrivers/libqsqlite${CMAKE_SHARED_LIBRARY_SUFFIX} DESTINATION ${WSJT_PLUGIN_DESTINATION}/sqldrivers - CONFIGURATIONS Release MinSizeRel + CONFIGURATIONS Release MinSizeRel RelWithDebInfo #COMPONENT runtime ) # install ( @@ -1767,7 +1767,7 @@ if (NOT is_debug_build) ${QT_PLUGINS_DIR}/audio ${QT_PLUGINS_DIR}/imageformats DESTINATION ${WSJT_PLUGIN_DESTINATION} - CONFIGURATIONS Release MinSizeRel + CONFIGURATIONS Release MinSizeRel RelWithDebInfo #COMPONENT runtime FILES_MATCHING PATTERN "*${CMAKE_SHARED_LIBRARY_SUFFIX}" PATTERN "*minimal*${CMAKE_SHARED_LIBRARY_SUFFIX}" EXCLUDE @@ -1779,7 +1779,7 @@ if (NOT is_debug_build) FILES ${QT_PLUGINS_DIR}/sqldrivers/qsqlite${CMAKE_SHARED_LIBRARY_SUFFIX} DESTINATION ${WSJT_PLUGIN_DESTINATION}/sqldrivers - CONFIGURATIONS Release MinSizeRel + CONFIGURATIONS Release MinSizeRel RelWithDebInfo #COMPONENT runtime ) # install (