Skip to content

Commit 2ed842a

Browse files
committed
Test script fix
1 parent 693582a commit 2ed842a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ if(TE_BUILD_TEST_RUNNER)
101101
# Disable specific -Werror warnings only for tetests.cpp
102102
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
103103
set_source_files_properties(
104-
tetests.cpp
105-
PROPERTIES
106-
COMPILE_OPTIONS
107-
-Wno-error=parentheses
108-
-Wno-error=unused-but-set-variable)
104+
tetests.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=parentheses -Wno-error=unused-but-set-variable")
109105
endif()
110106
if(MSVC)
111107
target_compile_definitions(${CMAKE_PROJECT_NAME} PUBLIC _DISABLE_VECTOR_ANNOTATION _DISABLE_STRING_ANNOTATION

0 commit comments

Comments
 (0)