From 28ed31dcaf5f15da3f6b0cb34f6611f8c2d3c434 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 2 Sep 2018 17:01:29 -0400 Subject: [PATCH] fix build --- CMakeLists.txt | 2 +- CMakeSettings.json | 17 +++++++++++++++++ vnr/texthook/host/CMakeLists.txt | 2 +- vnr/vnrhook/CMakeLists.txt | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 CMakeSettings.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 715d51e..1ca8a2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/CMakeSettings.json b/CMakeSettings.json new file mode 100644 index 0000000..9e9c651 --- /dev/null +++ b/CMakeSettings.json @@ -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": "" + } + ] +} \ No newline at end of file diff --git a/vnr/texthook/host/CMakeLists.txt b/vnr/texthook/host/CMakeLists.txt index add5052..fab2324 100644 --- a/vnr/texthook/host/CMakeLists.txt +++ b/vnr/texthook/host/CMakeLists.txt @@ -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 diff --git a/vnr/vnrhook/CMakeLists.txt b/vnr/vnrhook/CMakeLists.txt index b1c1986..abb70c3 100644 --- a/vnr/vnrhook/CMakeLists.txt +++ b/vnr/vnrhook/CMakeLists.txt @@ -93,7 +93,7 @@ target_compile_options(vnrhook PRIVATE set(vnrhook_libs ithsys - ${WDK_HOME}/lib/wxp/i386/ntdll.lib + ntdll.lib Version.lib )