mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[CMAKE] Set _WINKD_ define only where required (kernel and setuplib)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user