diff options
Diffstat (limited to 'cmake/scripts/common/ArchSetup.cmake')
| -rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index c97929e..4704193 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake | |||
| @@ -55,7 +55,7 @@ macro(check_builtin func var) | |||
| 55 | endmacro() | 55 | endmacro() |
| 56 | 56 | ||
| 57 | 57 | ||
| 58 | # -------- Main script --------- | 58 | # -------- Main script --------- |
| 59 | message(STATUS "System type: ${CMAKE_SYSTEM_NAME}") | 59 | message(STATUS "System type: ${CMAKE_SYSTEM_NAME}") |
| 60 | 60 | ||
| 61 | if(WITH_CPU) | 61 | if(WITH_CPU) |
| @@ -157,7 +157,8 @@ if(PLATFORM_DEFINES) | |||
| 157 | add_options(ALL_LANGUAGES ALL_BUILDS ${PLATFORM_DEFINES}) | 157 | add_options(ALL_LANGUAGES ALL_BUILDS ${PLATFORM_DEFINES}) |
| 158 | endif() | 158 | endif() |
| 159 | 159 | ||
| 160 | if(CMAKE_BUILD_TYPE STREQUAL "Debug") | 160 | if(NOT MSVC) |
| 161 | add_options (ALL_LANGUAGES DEBUG "-g" "-D_DEBUG" "-Wall") | 161 | add_options(ALL_LANGUAGES ALL_BUILDS "-Wall") |
| 162 | add_options(ALL_LANGUAGES DEBUG "-g" "-D_DEBUG") | ||
| 162 | endif() | 163 | endif() |
| 163 | 164 | ||
