Skip to content

Commit

Permalink
move some stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
danpf committed Nov 15, 2023
1 parent c25245b commit 5c65820
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if (build_py)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/python)
endif()

if(WIN32)
target_link_libraries(MMTFcpp INTERFACE ws2_32)
endif()
# if(WIN32)
# target_link_libraries(MMTFcpp INTERFACE ws2_32)
# endif()

target_link_libraries(MMTFcpp INTERFACE msgpack-cxx)

Expand Down
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ foreach(exe ${executables})
add_executable(${exe} ${exe}.cpp)
target_compile_features(${exe} PRIVATE cxx_auto_type)
if(WIN32)
target_link_libraries(${exe} MMTFcpp ws2_32)
target_link_libraries(${exe} msgpack-cxx MMTFcpp ws2_32)
else()
target_link_libraries(${exe} MMTFcpp)
target_link_libraries(${exe} msgpack-cxx MMTFcpp)
endif()
endforeach(exe)

0 comments on commit 5c65820

Please sign in to comment.