There was an error while loading. Please reload this page.
1 parent 8032006 commit 0c90affCopy full SHA for 0c90aff
1 file changed
CMakeLists.txt
@@ -30,7 +30,10 @@ function(openmoq_sanitize_target_link_directories target_name)
30
endif()
31
32
set(filtered_value "${property_value}")
33
- list(FILTER filtered_value EXCLUDE REGEX "^\\($|^\\)$")
+ # picotls can inject literal "(" and ")" via pkg-config parsing; after
34
+ # CMake normalization these may appear as source-prefixed "/.../(" and
35
+ # "/.../)" paths. Drop both raw and normalized forms.
36
+ list(FILTER filtered_value EXCLUDE REGEX "^\\($|^\\)$|.*/\\($|.*/\\)$")
37
set_target_properties("${target_name}" PROPERTIES "${property_name}" "${filtered_value}")
38
endforeach()
39
endfunction()
0 commit comments