mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
[CMAKE] Set _WINKD_ define only where required (kernel and setuplib)
This commit is contained in:
parent
0676247932
commit
9e19352492
3 changed files with 5 additions and 4 deletions
|
@ -221,10 +221,6 @@ Enable this if the module uses typeid or dynamic_cast. You will probably need to
|
|||
add_definitions(-DKDBG)
|
||||
endif()
|
||||
|
||||
if(_WINKD_)
|
||||
add_definitions(-D_WINKD_)
|
||||
endif()
|
||||
|
||||
if(ENABLE_CCACHE)
|
||||
message(WARNING "-- Disabling precompiled headers support (ccache).")
|
||||
option(PCH "Whether to use precompiled headers" OFF)
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
add_definitions(${I18N_DEFS})
|
||||
if(_WINKD_)
|
||||
add_definitions(-D_WINKD_)
|
||||
endif()
|
||||
|
||||
include_directories(spapisup utils)
|
||||
|
||||
|
|
|
@ -411,4 +411,6 @@ if(NOT _WINKD_)
|
|||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdio.c
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdmain.c)
|
||||
|
||||
else()
|
||||
add_definitions(-D_WINKD_)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue