Skip to content

Commit 054db29

Browse files
committed
Suppress build warning from test script
1 parent 74ad4c5 commit 054db29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if(TE_BUILD_TEST_RUNNER)
106106
endif()
107107
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
108108
set_source_files_properties(
109-
tinyexpr.cpp PROPERTIES COMPILE_FLAGS "-Werror=unused-function")
109+
tinyexpr.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-function")
110110
endif()
111111
if(MSVC)
112112
target_compile_definitions(${CMAKE_PROJECT_NAME} PUBLIC _DISABLE_VECTOR_ANNOTATION _DISABLE_STRING_ANNOTATION

0 commit comments

Comments
 (0)