summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-05 16:51:44 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-05 16:51:44 (GMT)
commit440822fa5c137b11a80307fd9367e50345822f41 (patch)
tree67007920874e2b127b100fa2d5c30e28c78cc31e /Source/QtDialog
parent6ace9562e730328b87ad5b56390e70cb7704050a (diff)
downloadCMake-440822fa5c137b11a80307fd9367e50345822f41.zip
CMake-440822fa5c137b11a80307fd9367e50345822f41.tar.gz
CMake-440822fa5c137b11a80307fd9367e50345822f41.tar.bz2
Source: Fix regression causing CMakeLib sources to be compiled repeatedly
In commit 4ff8604604 (Build: Do not use variables for sources lists, 2022-08-21) the sources of `CMakeLib` were accidentally made PUBLIC. This causes them to be compiled again in all consuming targets. Make the sources PRIVATE instead.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 989a929..a41b237 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -235,7 +235,7 @@ if(FALSE) # CMake's bootstrap binary does not support automoc
else()
target_sources(
CMakeGUILib
- PUBLIC
+ PRIVATE
${UI_BUILT_SRCS}
${MOC_BUILT_SRCS}
)