mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[CMAKE] Use BUILD_MP CMake option correctly
This commit is contained in:
@@ -64,7 +64,7 @@ add_pch(ntoskrnl ${REACTOS_SOURCE_DIR}/ntoskrnl/include/ntoskrnl.h "${PCH_SKIP_S
|
||||
add_dependencies(ntoskrnl psdk asm)
|
||||
add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB FOR all)
|
||||
|
||||
if(BUILD_MP OR (ARCH STREQUAL "amd64"))
|
||||
if(BUILD_MP)
|
||||
add_subdirectory(ntkrnlmp)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -97,8 +97,7 @@ else()
|
||||
set(_WINKD_ FALSE CACHE BOOL "Whether to compile with the KD protocol.")
|
||||
endif()
|
||||
|
||||
cmake_dependent_option(BUILD_MP "Whether to build the multiprocessor versions of NTOSKRNL and HAL." ON
|
||||
"ARCH STREQUAL i386" OFF)
|
||||
option(BUILD_MP "Whether to build the multiprocessor versions of NTOSKRNL and HAL." ON)
|
||||
|
||||
cmake_dependent_option(ISAPNP_ENABLE "Whether to enable the ISA PnP support." ON
|
||||
"ARCH STREQUAL i386 AND NOT SARCH STREQUAL xbox" OFF)
|
||||
|
||||
Reference in New Issue
Block a user