diff options
author | Alex Kutsan <akutsan@luxoft.com> | 2017-03-03 11:32:09 +0200 |
---|---|---|
committer | Jacob Keeler <jacob.keeler@livioradio.com> | 2017-05-16 10:09:53 -0400 |
commit | 5a70594cbc053230d8132516ac99339768e4a664 (patch) | |
tree | 38793dc301135e4a1fe9bb780c1e2dc0d4324400 /src/appMain | |
parent | d3a44111f88bbe41f7c35944f19b4eafe4dfd6bb (diff) | |
download | sdl_core-5a70594cbc053230d8132516ac99339768e4a664.tar.gz |
Set Debug as default build
In case if CMAKE_BUILD_TYPE didn't set, set CMAKE_BUILD_TYPE=Debug
Note:
Cotire incorrectly create united file in case if CMAKE_BUILD_TYPE is empty
Diffstat (limited to 'src/appMain')
-rw-r--r-- | src/appMain/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/appMain/CMakeLists.txt b/src/appMain/CMakeLists.txt index 88813b5bfb..0b76be34b5 100644 --- a/src/appMain/CMakeLists.txt +++ b/src/appMain/CMakeLists.txt @@ -137,10 +137,6 @@ if(ENABLE_LOG) list(APPEND LIBRARIES expat -L${EXPAT_LIBS_DIRECTORY}) endif() -if( NOT CMAKE_BUILD_TYPE ) - set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build. Options are: None, Debug, Release, RelWithDebInfo, MinSizeRel." FORCE) -endif() - add_executable(${PROJECT} ${SOURCES}) target_link_libraries(${PROJECT} ${LIBRARIES}) |