Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Done
-
Affects Version/s: Qt Creator 5.0.0
-
Fix Version/s: None
-
Component/s: Project & Build Management: CMake
-
Labels:None
-
Platform/s:
-
Commits:3c7d0c5c98 (qt-creator/qt-creator/master) 3c7d0c5c98 (qt-creator/qt-creator/qmlprojectstorage)
Description
When the group is empty it is still displayed, I would assume that empty groups will be hidden.
Now I have half hour searched where the heck is MySQL option set in my cmakelists, then I realized that it is not the option but it is a group.
I'm using this FindMySQL.cmake to find mysqlclient and it creates two advanced options MySQL_INCLUDE_DIRS and MySQL_LIBRARIES, when I uncheck Advanced, then this parent MySQL group is still visible.
You can use that FindMySQL module like this:
find_package(MySQL REQUIRED) target_link_libraries(library_cmake PRIVATE MySQL::MySQL)
Attachments
For Gerrit Dashboard: QTCREATORBUG-26218 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
387820,2 | CMakePM: Remove grouping of cmake cache variables | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |