aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-09 05:38:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-09 05:38:25 +0300
commit25c9180e4eab4c8cefc1af3fd4f83f0a8519d554 (patch)
tree4a8d154f0aabb423bb5cbcf0e3367704093f5103 /um
parentrestore WIN32_LEAN_AND_MEAN (diff)
downloadwindows7-drivers-25c9180e4eab4c8cefc1af3fd4f83f0a8519d554.tar.gz
windows7-drivers-25c9180e4eab4c8cefc1af3fd4f83f0a8519d554.zip
fix CMake files
It used to work, but since a few commits ago (with the introduction of cmake_minimum_required, I suspect), some libraries couldn't be found by the executables. It makes a lot of sense actually, since the service library is referenced in the headers, which are referenced in the utils.
Diffstat (limited to 'um')
-rw-r--r--um/wrappers/simple/CMakeLists.txt2
-rw-r--r--um/wrappers/special/nt_namespace/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/um/wrappers/simple/CMakeLists.txt b/um/wrappers/simple/CMakeLists.txt
index 85bc34b..84f40c5 100644
--- a/um/wrappers/simple/CMakeLists.txt
+++ b/um/wrappers/simple/CMakeLists.txt
@@ -2,6 +2,6 @@ file(GLOB_RECURSE simple_include "include/*.hpp")
file(GLOB simple_src "src/*.cpp")
add_library(simple ${simple_src} ${simple_include})
target_include_directories(simple PUBLIC include/)
-target_link_libraries(simple PRIVATE service)
+target_link_libraries(simple PUBLIC service)
add_subdirectory(utils)
diff --git a/um/wrappers/special/nt_namespace/CMakeLists.txt b/um/wrappers/special/nt_namespace/CMakeLists.txt
index c9c6395..dc99170 100644
--- a/um/wrappers/special/nt_namespace/CMakeLists.txt
+++ b/um/wrappers/special/nt_namespace/CMakeLists.txt
@@ -2,6 +2,6 @@ file(GLOB_RECURSE nt_namespace_include "include/*.hpp")
file(GLOB nt_namespace_src "src/*.cpp")
add_library(nt_namespace ${nt_namespace_src} ${nt_namespace_include})
target_include_directories(nt_namespace PUBLIC include/)
-target_link_libraries(nt_namespace PRIVATE service)
+target_link_libraries(nt_namespace PUBLIC service)
add_subdirectory(utils)