2.4.42
This commit is contained in:
@@ -22,14 +22,14 @@ macro(myx_find_qt)
|
||||
message(FATAL_ERROR "Supported Qt versions are 5 and 6")
|
||||
endif()
|
||||
|
||||
if(ARG_REQUIRED)
|
||||
if(ARG_REQUIRED AND 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)
|
||||
if(ARG_REQUIRED AND ARG_COMPONENTS)
|
||||
message("-- MyxCMake: searching required Qt components: ${ARG_COMPONENTS}")
|
||||
endif()
|
||||
foreach(iter ${ARG_COMPONENTS})
|
||||
|
Reference in New Issue
Block a user