mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 08:10:18 +00:00
1ae19bdc4a
Disable PSEH for MSVC svn path=/branches/cmake-bringup/; revision=49076
20 lines
404 B
CMake
20 lines
404 B
CMake
|
|
if(NOT MSVC)
|
|
|
|
list(APPEND SOURCE framebased.c)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE
|
|
i386/framebased.S
|
|
i386/framebased-gcchack.c
|
|
i386/framebased-gcchack-asm.S)
|
|
elseif(ARCH MATCHES amd64)
|
|
list(APPEND SOURCE amd64/framebased.S)
|
|
elseif(ARCH MATCHES powerpc)
|
|
list(APPEND SOURCE powerpc/framebased.S)
|
|
endif(ARCH MATCHES i386)
|
|
|
|
add_library(pseh ${SOURCE})
|
|
add_dependencies(pseh psdk)
|
|
|
|
endif()
|