Skip to content

Commit a2cd907

Browse files
urrskurfeex
andauthored
Apply suggestions from code review
Co-authored-by: Felix Exner <feex@universal-robots.com>
1 parent ff2bb61 commit a2cd907

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ target_compile_features(urcl PUBLIC cxx_std_17)
6565

6666
if(MSVC)
6767
target_link_libraries(urcl ws2_32)
68-
endif()
69-
70-
if(NOT MSVC)
68+
else()
7169
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
7270
target_compile_options(urcl PRIVATE -Wall -Wextra -Wno-unused-parameter)
7371

0 commit comments

Comments
 (0)