[NFS][RXCE]: Fix MSVC build (definitively?)
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Jun 2017 21:47:52 +0000 (21:47 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Jun 2017 21:47:52 +0000 (21:47 +0000)
svn path=/trunk/; revision=75109

reactos/drivers/filesystems/nfs/CMakeLists.txt
reactos/sdk/lib/drivers/rxce/CMakeLists.txt

index ba3b465..4f44cf4 100644 (file)
@@ -12,7 +12,7 @@ add_definitions(-DRDBSS_TRACKER)
 add_library(nfs41_driver SHARED ${SOURCE} nfs.rc)
 set_module_type(nfs41_driver kernelmodedriver)
 target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib ${PSEH_LIB})
-add_importlibs(nfs41_driver hal)
+add_importlibs(nfs41_driver ntoskrnl hal)
 
 if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
     add_target_compile_flags(nfs41_driver "-Wno-switch")
index 7d91077..69975d5 100644 (file)
@@ -6,5 +6,5 @@ list(APPEND SOURCE
     rxce.c)
 
 add_library(rxce ${SOURCE})
-target_link_libraries(rxce ntoskrnl memcmp)
+target_link_libraries(rxce memcmp)
 add_dependencies(rxce bugcodes xdk)