Skip to content

Commit e9e6827

Browse files
committed
updated gui cmake file
1 parent f9e24a5 commit e9e6827

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gui/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS Widgets Svg Qml Quick Qui
66
find_package(KF6Archive REQUIRED)
77
find_package(KF6GuiAddons)
88

9-
#NMC customization: needed to find the ui file in a different location than the header file
10-
set(CMAKE_AUTOUIC_SEARCH_PATHS "${CMAKE_SOURCE_DIR}/src/gui")
11-
129
if(CMAKE_BUILD_TYPE MATCHES Debug)
1310
add_definitions(-DQT_QML_DEBUG)
1411
endif()
@@ -26,6 +23,9 @@ endif()
2623
configure_file(${CMAKE_SOURCE_DIR}/theme.qrc.in ${CMAKE_SOURCE_DIR}/theme.qrc)
2724
set(theme_dir ${CMAKE_SOURCE_DIR}/theme)
2825

26+
#NMC customization: needed to find the ui file in a different location than the header file
27+
set(CMAKE_AUTOUIC_SEARCH_PATHS "${CMAKE_SOURCE_DIR}/src/gui")
28+
2929
set(client_UI_SRCS
3030
accountsettings.ui
3131
conflictdialog.ui

0 commit comments

Comments
 (0)