Skip to content

Commit 1892ece

Browse files
committed
Build properties updated
1 parent d262063 commit 1892ece

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

share/bcm/cmake/BCMProperties.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ else()
7979
$<$<STREQUAL:$<UPPER_CASE:$<TARGET_PROPERTY:CXX_WARNINGS>>,ALL>:-pedantic>
8080
$<$<STREQUAL:$<UPPER_CASE:$<TARGET_PROPERTY:CXX_WARNINGS_AS_ERRORS>>,ON>:-Werror>
8181
)
82-
if(CMAKE_${COMPILER}_COMPILER_ID MATCHES "Clang")
82+
if(CMAKE_${COMPILER}_COMPILER_ID MATCHES "Clang" OR CMAKE_${COMPILER}_COMPILER_ID MATCHES "AppleClang")
8383
add_compile_options(
8484
$<$<STREQUAL:$<UPPER_CASE:$<TARGET_PROPERTY:CXX_WARNINGS>>,ALL>:-Weverything>
8585
$<$<STREQUAL:$<UPPER_CASE:$<TARGET_PROPERTY:CXX_WARNINGS>>,ALL>:-Wno-macro-redefined>
@@ -88,5 +88,4 @@ else()
8888
$<$<STREQUAL:$<UPPER_CASE:$<TARGET_PROPERTY:CXX_WARNINGS>>,ALL>:-Wno-c++98-compat-pedantic>
8989
)
9090
endif()
91-
endif()
92-
91+
endif()

0 commit comments

Comments
 (0)