mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:45:40 +00:00
[CMAKE] Fix host tools build on x86-64 mingw
Dynamically check for sys/types.h and pid_t in wine config.h Use TARGET_xxx defines instead of _X86_ as this is undefined by GCC Add some sense in include directories management by using interface libraries
This commit is contained in:
parent
15748cf03a
commit
493ceb7ade
19 changed files with 64 additions and 30 deletions
|
@ -28,7 +28,6 @@ if(CMAKE_CROSSCOMPILING)
|
|||
-Dstrtoll=_strtoi64
|
||||
-Dopen=_open
|
||||
-Dclose=_close)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
endif()
|
||||
|
||||
|
@ -42,4 +41,5 @@ if(CMAKE_CROSSCOMPILING)
|
|||
add_library(wpp ${SOURCE})
|
||||
else()
|
||||
add_library(wpphost ${SOURCE})
|
||||
target_link_libraries(wpphost PRIVATE host_includes)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue