Skip to content

Commit 44b1efc

Browse files
feihongmrbean-bremen
authored andcommitted
fix _qt_include_prefix
1 parent 8327ac0 commit 44b1efc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ endforeach()
6060

6161
get_target_property(_qtcore_include_dirs Qt${QT_VERSION_MAJOR}::Core INTERFACE_INCLUDE_DIRECTORIES)
6262
foreach(_qtcore_include_dir IN LISTS _qtcore_include_dirs)
63-
if (EXISTS "${_qtcore_include_dir}/QtCore")
63+
if (IS_DIRECTORY "${_qtcore_include_dir}/QtCore")
6464
set(_qt_include_prefix "${_qtcore_include_dir}")
6565
break()
6666
endif()

0 commit comments

Comments
 (0)