File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ if(TE_BUILD_TEST_RUNNER)
9999
100100 add_executable (${CMAKE_PROJECT_NAME} ../tinyexpr.cpp tetests.cpp testingmain.cpp)
101101 # Disable specific -Werror warnings only for tetests.cpp
102- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU" )
102+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU|AppleClang " )
103103 set_source_files_properties (
104104 tetests.cpp PROPERTIES COMPILE_FLAGS "-Wno-parentheses -Wno-unused-but-set-variable" )
105105 endif ()
106- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU" )
106+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU|AppleClang " )
107107 set_source_files_properties (
108- tinyexpr.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-function" )
108+ ../ tinyexpr.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-function" )
109109 endif ()
110110 if (MSVC )
111111 target_compile_definitions (${CMAKE_PROJECT_NAME} PUBLIC _DISABLE_VECTOR_ANNOTATION _DISABLE_STRING_ANNOTATION
You can’t perform that action at this time.
0 commit comments