diff options
author | Brad King <brad.king@kitware.com> | 2022-10-05 16:51:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-05 16:51:44 (GMT) |
commit | 440822fa5c137b11a80307fd9367e50345822f41 (patch) | |
tree | 67007920874e2b127b100fa2d5c30e28c78cc31e /Source/QtDialog | |
parent | 6ace9562e730328b87ad5b56390e70cb7704050a (diff) | |
download | CMake-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.txt | 2 |
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} ) |