We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb5917 commit e6915f3Copy full SHA for e6915f3
tests/CMakeLists.txt
@@ -2,6 +2,11 @@ add_executable(test_parity test_csv.cpp)
2
target_link_libraries(test_parity csvcpp)
3
target_include_directories(test_parity PRIVATE ${CMAKE_SOURCE_DIR}/csvcpp/include)
4
5
+# Allow legacy-style C test code to compile under clang++
6
+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
7
+ target_compile_options(test_parity PRIVATE -fpermissive -Wno-writable-strings)
8
+endif()
9
+
10
# Enable testing
11
enable_testing()
12
add_test(NAME test_parity COMMAND test_parity)
0 commit comments