Revert "build: disable package for debug config"
This reverts commit 49622a24b2.
This commit is contained in:
parent
9f1c1da1aa
commit
c165413e5b
1 changed files with 0 additions and 7 deletions
|
|
@ -146,13 +146,6 @@ elseif(UNIX AND NOT APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(BUILD_INSTALLER "Build installer" ON)
|
option(BUILD_INSTALLER "Build installer" ON)
|
||||||
|
|
||||||
# Building of packages with debug config is forbidden
|
|
||||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
|
||||||
message(STATUS "Disabling packaging in debug mode")
|
|
||||||
set(BUILD_INSTALLER OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(BUILD_INSTALLER)
|
if(BUILD_INSTALLER)
|
||||||
add_subdirectory(deploy)
|
add_subdirectory(deploy)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue