mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
Instead of adding the rtl_vista library to the target, manually add the related source files to compilation. That's not the best, but this should definitively fix the linking problem.
This commit is contained in:
parent
2f7dc168f2
commit
7416328523
1 changed files with 5 additions and 2 deletions
|
@ -3,15 +3,18 @@ add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
|
|
||||||
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
||||||
|
|
||||||
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
etw.c
|
etw.c
|
||||||
fsrtl.c
|
fsrtl.c
|
||||||
io.c
|
io.c
|
||||||
po.c
|
po.c
|
||||||
ke.c)
|
ke.c
|
||||||
|
${REACTOS_SOURCE_DIR}/sdk/lib/rtl/utf8.c)
|
||||||
|
|
||||||
add_library(ntoskrnl_vista ${SOURCE})
|
add_library(ntoskrnl_vista ${SOURCE})
|
||||||
target_link_libraries(ntoskrnl_vista PRIVATE rtl_vista)
|
target_link_libraries(ntoskrnl_vista PRIVATE pseh) # rtl_vista)
|
||||||
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
||||||
|
|
||||||
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|
||||||
|
|
Loading…
Reference in a new issue