diff options
Diffstat (limited to 'cmake/scripts/common/ArchSetup.cmake')
| -rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index 3b81533..c97929e 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake | |||
| @@ -153,6 +153,10 @@ if(NOT DEFINED NEON OR NEON) | |||
| 153 | endif() | 153 | endif() |
| 154 | endif() | 154 | endif() |
| 155 | 155 | ||
| 156 | if(PLATFORM_DEFINES) | ||
| 157 | add_options(ALL_LANGUAGES ALL_BUILDS ${PLATFORM_DEFINES}) | ||
| 158 | endif() | ||
| 159 | |||
| 156 | if(CMAKE_BUILD_TYPE STREQUAL "Debug") | 160 | if(CMAKE_BUILD_TYPE STREQUAL "Debug") |
| 157 | add_options (ALL_LANGUAGES DEBUG "-g" "-D_DEBUG" "-Wall") | 161 | add_options (ALL_LANGUAGES DEBUG "-g" "-D_DEBUG" "-Wall") |
| 158 | endif() | 162 | endif() |
