[CMAKE] Set _WINKD_ define only where required (kernel and setuplib)

This commit is contained in:
Hervé Poussineau 2022-06-25 18:44:37 +02:00
parent 0676247932
commit 9e19352492
3 changed files with 5 additions and 4 deletions

View file

@ -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)

View file

@ -1,5 +1,8 @@
add_definitions(${I18N_DEFS})
if(_WINKD_)
add_definitions(-D_WINKD_)
endif()
include_directories(spapisup utils)

View file

@ -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()