From 3d0d0c24adf5001be1c42b2fa86129b1b258cf70 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周一, 04 12月 2023 20:31:36 +0800 Subject: [PATCH] Fix NCHITTEST --- src/core/CMakeLists.txt | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 7b3d4a4..654a259 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -5,10 +5,13 @@ set(_src qwkcoreglobal.h + qwkcoreglobal_p.h + qwkcoreglobal.cpp corewindowagent.h corewindowagent_p.h corewindowagent.cpp windowitemdelegate.h + windowitemdelegate.cpp contexts/abstractwindowcontext_p.h contexts/abstractwindowcontext.cpp ) @@ -25,8 +28,9 @@ contexts/qtwindowcontext_p.h contexts/qtwindowcontext.cpp ) + if(APPLE) - # add files + # add files else() list(APPEND _src qwindowkit_linux.h @@ -46,4 +50,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED TRUE -) \ No newline at end of file +) + +set(QWINDOWKIT_ENABLED_TARGETS ${QWINDOWKIT_ENABLED_TARGETS} ${PROJECT_NAME} PARENT_SCOPE) +set(QWINDOWKIT_ENABLED_SUBDIRECTORIES ${QWINDOWKIT_ENABLED_SUBDIRECTORIES} core PARENT_SCOPE) \ No newline at end of file -- Gitblit v1.9.1