From ae6c09450115662fde74f54f80d5c3bc22d6fbf4 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Fri, 26 Aug 2022 04:15:27 +0200 Subject: [PATCH] Add a CMakeLists.txt to allow FetchContent (#19) --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..109696b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.5) + +project(phnt) + +add_library(phnt INTERFACE) +target_include_directories(phnt INTERFACE "${CMAKE_CURRENT_LIST_DIR}") +target_link_libraries(phnt INTERFACE "ntdll.lib") + +add_library(phnt::phnt ALIAS phnt) \ No newline at end of file