We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a79386a commit a43ab91Copy full SHA for a43ab91
CMakeLists.txt
@@ -201,7 +201,9 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
201
)
202
203
# Generate .pri file for qmake users
204
- if(CMAKE_VERSION VERSION_GREATER "3.11.99" AND NOT CMAKE_CONFIGURATION_TYPES) # Not working with VS generator or older cmake versions
+ #TODO: ECM does not support Qt6 yet
205
+ if(Qt_VERSION_MAJOR EQUAL 5 AND
206
+ CMAKE_VERSION VERSION_GREATER "3.11.99" AND NOT CMAKE_CONFIGURATION_TYPES) # Not working with VS generator or older cmake versions
207
include(ECMGeneratePriFile)
208
ecm_generate_pri_file(BASE_NAME KDReports
209
LIB_NAME KDReports
0 commit comments