Skip to content

Commit a048647

Browse files
committed
cmake
1 parent 21fd0c6 commit a048647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ target_link_libraries(boost_redis_project_options INTERFACE boost_redis)
55
if (MSVC)
66
target_compile_options(boost_redis_project_options INTERFACE /bigobj)
77
target_compile_definitions(boost_redis_project_options INTERFACE _WIN32_WINNT=0x0601)
8+
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
9+
target_compile_options(boost_redis_project_options INTERFACE -Wall -Wextra -Werror)
810
endif()
911

1012
add_library(boost_redis_src STATIC boost_redis.cpp)
@@ -50,6 +52,7 @@ make_test(test_any_adapter 17)
5052
make_test(test_conversions 17)
5153
make_test(test_issue_50 20)
5254
make_test(test_issue_181 17)
55+
make_test(test_exec_fsm 17)
5356

5457
# Coverage
5558
set(

0 commit comments

Comments
 (0)