Skip to content

Commit bbf854c

Browse files
committed
Merge remote-tracking branch 'origin/master' into feature/gh-509-remove-some-deprecated-utils-headers
2 parents 63d5302 + a0562f8 commit bbf854c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/celix_project/CelixProject.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ if (ENABLE_GCC_ANALYZER)
9898
"-Wno-analyzer-fd-leak"
9999
"-Wno-analyzer-shift-count-negative"
100100
)
101-
add_compile_options(${ANALYZER_FLAGS})
102-
else()
101+
add_compile_options("$<$<COMPILE_LANGUAGE:C>:${ANALYZER_FLAGS}>")
102+
else()
103103
message(WARNING "ENABLE_GCC_ANALYZER is only supported with GCC ")
104104
endif()
105105
endif()

0 commit comments

Comments
 (0)