Skip to content

Commit

Permalink
Fixed|CMake|Debug|OS X: Do not strip debug symbols in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 1, 2016
1 parent fdef606 commit 3654aa9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doomsday/cmake/Macros.cmake
Expand Up @@ -640,8 +640,11 @@ function (deng_install_deployqt target)
endif ()
install (CODE "
message (STATUS \"Running macdeployqt on ${_outName}.app...\")
if (\"\${CMAKE_INSTALL_CONFIG_NAME}\" MATCHES \"([Dd][Ee][Bb])\")
set (deployQtOptions -no-strip)
endif ()
execute_process (COMMAND ${MACDEPLOYQT_COMMAND}
\"\${CMAKE_INSTALL_PREFIX}/${_outName}.app\"
\"\${CMAKE_INSTALL_PREFIX}/${_outName}.app\" \${deployQtOptions}
OUTPUT_QUIET ERROR_QUIET)
")
elseif (WIN32)
Expand Down

0 comments on commit 3654aa9

Please sign in to comment.