fix build

This commit is contained in:
Akash Mozumdar 2018-09-02 17:01:29 -04:00
parent df68a64aba
commit 28ed31dcaf
4 changed files with 20 additions and 3 deletions

View File

@ -99,7 +99,7 @@ target_link_libraries(${PROJECT_NAME}
profile
vnrhost
ithsys
${WDK_HOME}/lib/wxp/i386/ntdll.lib
ntdll.lib
comctl32.lib
psapi.lib
)

17
CMakeSettings.json Normal file
View File

@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "x86-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [
"msvc_x86"
],
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}

View File

@ -54,7 +54,7 @@ target_compile_options(vnrhost PRIVATE
target_link_libraries(vnrhost
ithsys
profile
${WDK_HOME}/lib/wxp/i386/ntdll.lib
ntdll.lib
)
target_compile_definitions(vnrhost

View File

@ -93,7 +93,7 @@ target_compile_options(vnrhook PRIVATE
set(vnrhook_libs
ithsys
${WDK_HOME}/lib/wxp/i386/ntdll.lib
ntdll.lib
Version.lib
)