This commit is contained in:
2024-04-10 23:16:37 +03:00
parent 96180b1e27
commit f7790f34f4
7 changed files with 9 additions and 9 deletions

View File

@@ -23,14 +23,14 @@ macro(myx_find_qt)
endif()
if(ARG_REQUIRED)
myx_message_notice("MyxCMake: searching required Qt private components: ${ARG_PRIVATE}")
message("MyxCMake: searching required Qt private components: ${ARG_PRIVATE}")
endif()
foreach(iter ${ARG_PRIVATE})
find_package("Qt${ARG_VERSION}${iter}" COMPONENTS Private ${ARG_REQUIRED})
endforeach()
if(ARG_REQUIRED)
myx_message_notice("MyxCMake: searching required Qt components: ${ARG_COMPONENTS}")
message("MyxCMake: searching required Qt components: ${ARG_COMPONENTS}")
endif()
foreach(iter ${ARG_COMPONENTS})
find_package(Qt${ARG_VERSION} COMPONENTS ${iter} ${ARG_REQUIRED})