|
|
@@ -12,8 +12,8 @@ set(QGears_VERSION_PATCH 0)
|
|
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
|
|
|
# CMake defaults to leaving CMAKE_BUILD_TYPE empty. This screws up
|
|
|
# differentiation between debug and release builds.
|
|
|
- set(CMAKE_BUILD_TYPE "RELEASE" CACHE STRING "Choose the type of build, options are: None (CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
|
|
- message("CMAKE_BUILD_TYPE was empty defaulting to RELEASE")
|
|
|
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: None (CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
|
|
+ message("CMAKE_BUILD_TYPE was empty defaulting to Release")
|
|
|
endif ()
|
|
|
|
|
|
message("CMAKE_BUILD_TYPE is ${CMAKE_BUILD_TYPE} CMAKE_BINARY_DIR is ${CMAKE_BINARY_DIR}")
|