mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't rely on CMAKE_AUTOUIC
Some old CMakes that we use had problems with it, change to use the qt5_wrap_ui macro that's bundled with Qt. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e1d43ade27
commit
c71df5baa5
4 changed files with 56 additions and 5 deletions
|
@ -4,7 +4,15 @@ include_directories(.
|
|||
${CMAKE_BINARY_DIR}
|
||||
)
|
||||
|
||||
file(GLOB SUBSURFACE_PREFERENCES_UI *.ui)
|
||||
set(SUBSURFACE_PREFERENCES_UI
|
||||
preferences_defaults.ui
|
||||
preferences_graph.ui
|
||||
preferences_network.ui
|
||||
preferences_units.ui
|
||||
prefs_georeference.ui
|
||||
prefs_language.ui
|
||||
)
|
||||
|
||||
qt5_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI})
|
||||
|
||||
source_group("Subsurface Interface Files" FILES ${SUBSURFACE_PREFERENCES_UI})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue