Skip to content

Commit

Permalink
Check the PROJECT_NAME more thoroughly
Browse files Browse the repository at this point in the history
This was missed in 3e1a223

Task-number: QTBUG-127953
Pick-to: 6.8
Change-Id: I2ff6cafe852ec2696aea37e2e79e3c8b95c0e8ca
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit b8b6382)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
  • Loading branch information
Cristian Le authored and Qt Cherry-pick Bot committed Feb 15, 2025
1 parent c6fdf95 commit ea4a6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/sqldrivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ if(QT_FEATURE_sql_mimer)
add_subdirectory(mimer)
endif()

if(NOT CMAKE_PROJECT_NAME STREQUAL "QtBase" AND NOT CMAKE_PROJECT_NAME STREQUAL "Qt")
if(NOT PROJECT_NAME STREQUAL "QtBase" AND NOT PROJECT_NAME STREQUAL "Qt")
qt_build_repo_end()
endif()

0 comments on commit ea4a6cf

Please sign in to comment.