From 83a0066760140e676fc12278be6f1aedde3a5987 Mon Sep 17 00:00:00 2001 From: Sven Kipry Date: Tue, 5 May 2020 07:53:57 +0200 Subject: [PATCH] fix include path in CMakeLists.txt The include path is not set correctly when QHotkey is build as a subproject. To fix that CMAKE_CURRENT_SOURCE_DIR should be used instead of CMAKE_SOURCE_DIR in target_include_directories. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41f2037..30c40ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ target_link_libraries(qhotkey ${LIBS}) target_include_directories(qhotkey PUBLIC - $ + $ $) set_target_properties(qhotkey PROPERTIES