qt6.qtbase: refresh patch
This commit is contained in:
+2
-3
@@ -1,5 +1,5 @@
|
||||
diff --git a/cmake/QtGenerateLibHelpers.cmake b/cmake/QtGenerateLibHelpers.cmake
|
||||
index 96675267d2..c9d4a69497 100644
|
||||
index c9d4a69497..dc1a290cfc 100644
|
||||
--- a/cmake/QtGenerateLibHelpers.cmake
|
||||
+++ b/cmake/QtGenerateLibHelpers.cmake
|
||||
@@ -10,7 +10,7 @@ function(qt_get_library_name_without_prefix_and_suffix out_var file_path)
|
||||
@@ -7,8 +7,7 @@ index 96675267d2..c9d4a69497 100644
|
||||
get_filename_component(basename "${file_path}" NAME_WE)
|
||||
get_filename_component(ext "${file_path}" EXT)
|
||||
- if(NOT ext) # seems like a library name without prefix and suffix
|
||||
+ if(NOT ext AND NOT IS_ABSOLUTE "${file_path}")
|
||||
# seems like a library name without prefix and suffix
|
||||
+ if(NOT ext AND NOT IS_ABSOLUTE "${file_path}") # seems like a library name without prefix and suffix
|
||||
set(${out_var} "${file_path}" PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user