Corrected cmake macros.

This commit is contained in:
NissimHadar 2019-05-04 18:45:51 -07:00
parent 6ff6c0c410
commit c0201ac2ba
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ macro(fixup_interface)
")
endif ()
if (DEV_BUILD)
if (RELEASE_TYPE STREQUAL "DEV")
install(CODE "
execute_process(COMMAND ${MACDEPLOYQT_COMMAND}\
\${CMAKE_INSTALL_PREFIX}/${_INTERFACE_INSTALL_PATH}/\

View file

@ -24,7 +24,7 @@ macro(fixup_nitpick)
")
endif ()
if (DEV_BUILD)
if (RELEASE_TYPE STREQUAL "DEV")
install(CODE "
execute_process(COMMAND ${MACDEPLOYQT_COMMAND}\
\${CMAKE_INSTALL_PREFIX}/${_NITPICK_INSTALL_PATH}/\