mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] CMakeLists.txt: Remove NO_UNDERSCORE_PREFIX leftovers
And switch to add_compile_definitions().
Addendum to 9efafd6
.
This commit is contained in:
parent
59d4c11203
commit
2dcc40fb3e
1 changed files with 2 additions and 2 deletions
|
@ -274,9 +274,9 @@ Enable this if the module uses typeid or dynamic_cast. You will probably need to
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
|
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
|
||||||
elseif(ARCH STREQUAL "amd64")
|
elseif(ARCH STREQUAL "amd64")
|
||||||
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
|
add_compile_definitions(USE_COMPILER_EXCEPTIONS)
|
||||||
elseif(ARCH STREQUAL "arm")
|
elseif(ARCH STREQUAL "arm")
|
||||||
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
|
add_compile_definitions(USE_COMPILER_EXCEPTIONS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Activate support for assembly source files
|
# Activate support for assembly source files
|
||||||
|
|
Loading…
Reference in a new issue