This commit is contained in:
Andrei Astafev 2022-10-03 15:51:19 +03:00
parent 7a391f233a
commit ea164d11d4

View File

@ -26,6 +26,7 @@ function(myx_qt5_target_setup NAME)
if(ARG_PRIVATE)
foreach(iter ${ARG_PRIVATE})
find_package("Qt5${iter}" COMPONENTS Private REQUIRED)
target_include_directories(${NAME} PRIVATE ${Qt5${iter}_PRIVATE_INCLUDE_DIRS})
endforeach()
endif()
@ -52,7 +53,6 @@ function(myx_qt5_target_setup NAME)
if(ARG_UI AND "Widgets" IN_LIST ARG_COMPONENTS)
set(Qt5Widgets_UIC_EXECUTABLE "/usr/lib/qt5/bin/uic")
qt5_wrap_ui(ui_h ${ARG_UI})
myx_message_warning(fffff ffff ${ui_h})
endif()
if("LinguistTools" IN_LIST ARG_COMPONENTS)