[CMAKE] Use BUILD_MP CMake option correctly

This commit is contained in:
Victor Perevertkin 2021-06-28 17:54:09 +03:00
parent ada609bdbc
commit 1c7f3476a0
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
2 changed files with 2 additions and 3 deletions

View file

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

View file

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