summaryrefslogtreecommitdiffstatshomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 22:38:50 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 22:38:50 +0200
commitd8b6bb52fb9f200925fe53bf431612f5446e1dcf (patch)
treeab5cb81f88293335fec83ed6b4638919084e9a5e /src/CMakeLists.txt
parentfix a compiler warning (diff)
downloadwinapi-debug-d8b6bb52fb9f200925fe53bf431612f5446e1dcf.tar.gz
winapi-debug-d8b6bb52fb9f200925fe53bf431612f5446e1dcf.zip
cmake: prettify CMakeLists.txt files
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a78f35a..a867a98 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,12 +7,14 @@ target_compile_definitions(winapi_debug PUBLIC _NO_CVCONST_H)
target_include_directories(winapi_debug PUBLIC ../include/)
target_link_libraries(winapi_debug
PUBLIC winapi_common
- PRIVATE winapi_utf8)
+ PRIVATE winapi_utf8
+)
target_link_libraries(winapi_debug
PUBLIC Boost::boost
- PRIVATE Boost::disable_autolinking)
+ PRIVATE Boost::disable_autolinking
+)
target_link_libraries(winapi_debug PRIVATE dbghelp)
-INSTALL(TARGETS winapi_debug ARCHIVE DESTINATION lib)
+install(TARGETS winapi_debug ARCHIVE DESTINATION lib)
install(DIRECTORY ../include/winapi DESTINATION include)
if(MSVC_VERSION EQUAL 1900)