mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[CMAKE] Elimitate the use of GCC and CLANG variables
This commit is contained in:
parent
6f4be52a1c
commit
f155b9377f
32 changed files with 78 additions and 116 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
if (NOT (GCC AND (ARCH STREQUAL "amd64")))
|
||||
if (MSVC OR ARCH STREQUAL "i386")
|
||||
#FIXME _setjmp definitions in CRT headers is wrong
|
||||
add_subdirectory(ms)
|
||||
list(APPEND SOURCE ms_seh.c)
|
||||
|
@ -12,7 +12,7 @@ list(APPEND SOURCE
|
|||
testlist.c)
|
||||
|
||||
add_executable(compiler_apitest ${SOURCE})
|
||||
if (NOT (GCC AND (ARCH STREQUAL "amd64")))
|
||||
if (MSVC OR ARCH STREQUAL "i386")
|
||||
target_link_libraries(compiler_apitest ms_seh_test)
|
||||
endif()
|
||||
target_link_libraries(compiler_apitest wine ${PSEH_LIB})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue