We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47847e7 commit 5ad9078Copy full SHA for 5ad9078
GenericFindDependency.cmake
@@ -347,9 +347,7 @@ function(GenericFindDependency)
347
# Final validation that the target was properly created from some source
348
if(TARGET ${x_TARGET})
349
if(x_SYSTEM_INCLUDES)
350
- if(NOT CMAKE_CROSSCOMPILING OR THIRD_PARTY_INCLUDES_AS_SYSTEM)
351
- mark_target_as_system_includes(${x_TARGET})
352
- endif()
+ mark_target_as_system_includes(${x_TARGET})
353
endif()
354
else()
355
# Target not found in any location
0 commit comments