Skip to content

Commit

Permalink
CMake: Rename internal variable
Browse files Browse the repository at this point in the history
Rename QT_QMAKE_LIB_TARGETS_foo to QT_TARGETS_OF_QMAKE_LIB_foo, because
we want to introduce the counterpart QT_QMAKE_LIB_OF_TARGET_bar in a
subsequent commit.

Pick-to: 6.0
Task-number: QTBUG-88951
Change-Id: I33f00f4fe65c5977da6e74c632ebeab3b891c89a
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
jobor committed Nov 30, 2020
1 parent bd98ba0 commit bf483ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/QtFindPackageHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ macro(qt_find_package)
AND (NOT arg_QMAKE_LIB IN_LIST QT_QMAKE_LIBS_FOR_${arg_MODULE_NAME}))
set(QT_QMAKE_LIBS_FOR_${arg_MODULE_NAME}
${QT_QMAKE_LIBS_FOR_${arg_MODULE_NAME}};${arg_QMAKE_LIB} CACHE INTERNAL "")
set(QT_QMAKE_LIB_TARGETS_${arg_QMAKE_LIB} ${arg_PROVIDED_TARGETS} CACHE INTERNAL "")
set(QT_TARGETS_OF_QMAKE_LIB_${arg_QMAKE_LIB} ${arg_PROVIDED_TARGETS} CACHE INTERNAL "")
endif()
endif()
endmacro()
Expand Down
2 changes: 1 addition & 1 deletion cmake/QtPriHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function(qt_generate_qmake_libraries_pri_content module_name output_root_dir out
list(JOIN implicit_include_dirs_regex "|" implicit_include_dirs_regex)

foreach(lib ${QT_QMAKE_LIBS_FOR_${module_name}})
set(lib_targets ${QT_QMAKE_LIB_TARGETS_${lib}})
set(lib_targets ${QT_TARGETS_OF_QMAKE_LIB_${lib}})
string(TOUPPER ${lib} uclib)
set(lib_defines "")
set(lib_incdir "")
Expand Down

0 comments on commit bf483ca

Please sign in to comment.