File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,12 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
129
129
130
130
add_executable (phoenix-tests ${PHOENIX_TESTS} )
131
131
target_link_libraries (phoenix-tests PRIVATE phoenix doctest_with_main )
132
- target_compile_options (phoenix-tests PRIVATE ${PHOENIX_CXX_FLAGS} -Wno-overloaded-shift-op-parentheses )
132
+ target_compile_options (phoenix-tests PRIVATE ${PHOENIX_CXX_FLAGS} )
133
+
134
+ if (NOT MSVC )
135
+ target_compile_options (phoenix-tests PRIVATE -Wno-overloaded-shift-op-parentheses )
136
+ endif ()
137
+
133
138
target_link_options (phoenix-tests PRIVATE ${PHOENIX_CXX_FLAGS} )
134
139
135
140
doctest_discover_tests (phoenix-tests EXTRA_ARGS -tse=messages,script,world WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} /tests )
You can’t perform that action at this time.
0 commit comments