cmake: Remove build/msvc include path to remove file name clash

Remove the `build/msvc` include path from the test project to fix a
problem with the order of the include paths. Additionally remove the
unnecessary `include_directories` from the master project.
Signed-off-by: 's avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
parent 926d2d26
......@@ -597,7 +597,6 @@ if (MINGW)
endif ()
endif ()
include_directories (include ${CMAKE_CURRENT_BINARY_DIR})
set (public_headers include/zmq.h
include/zmq_utils.h)
......
......@@ -133,7 +133,6 @@ ENDIF (ENABLE_DRAFTS)
if(WIN32)
add_definitions(-DZMQ_CUSTOM_PLATFORM_HPP)
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
include_directories(../builds/msvc)
# Same name on 64bit systems
link_libraries(Ws2_32.lib)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment