cmake_policy(SET CMP0058 OLD)
endif()
+if(POLICY CMP0065)
+ # Do not add flags to export symbols from executables without the ENABLE_EXPORTS target property
+ cmake_policy(SET CMP0065 NEW)
+endif()
+
project(REACTOS)
# Versioning
if(MSVC)
if(ARCH STREQUAL "i386")
add_definitions(/D_X86_ /D__i386__ /DWIN32 /D_WINDOWS)
+ elseif(ARCH STREQUAL "amd64")
+ add_definitions(-D_AMD64_ -D__x86_64__ /DWIN32 -D_WINDOWS)
endif()
if(MSVC_VERSION GREATER 1699)
add_definitions(/D_ALLOW_KEYWORD_MACROS)