Revert CMake default build type error (#1420)
This commit is contained in:
parent
e9f3a5fd1b
commit
a94588bde3
@ -239,10 +239,6 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
if (DEFINED CMAKE_BUILD_TYPE AND NOT CMAKE_BUILD_TYPE)
|
|
||||||
message(FATAL_ERROR "CMake build type was set as empty, most likely a mistake")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# default build type is debug
|
# default build type is debug
|
||||||
if (NOT CMAKE_BUILD_TYPE)
|
if (NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Debug")
|
set(CMAKE_BUILD_TYPE "Debug")
|
||||||
|
Loading…
Reference in New Issue
Block a user