Skip to content
Snippets Groups Projects
Commit a5d5c7ea authored by Carsten Patzke's avatar Carsten Patzke
Browse files

Fixed missing libraries

parent dcbb044d
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,11 @@
#define HIDRA2_SYSTEM_WRAPPERS__IO_H
#include <cinttypes>
#include <string>
#include <vector>
#include <chrono>
#include <memory>
#include <thread>
#include "common/file_info.h"
namespace hidra2 {
......
......@@ -9,7 +9,7 @@ target_link_libraries(${TARGET_NAME} Threads::Threads producer-api)
set_target_properties(${TARGET_NAME} PROPERTIES LINKER_LANGUAGE CXX)
if(WIN32)
target_link_libraries(${TARGET_NAME} wsock32 ws2_32)
target_link_libraries(${TARGET_NAME} Threads::Threads wsock32 ws2_32)
endif()
if (CMAKE_COMPILER_IS_GNUCXX)
......
......@@ -13,9 +13,8 @@ target_include_directories(${TARGET_NAME} PUBLIC include ${CMAKE_SOURCE_DIR}/com
set_target_properties(${TARGET_NAME} PROPERTIES LINKER_LANGUAGE CXX)
if(WIN32)
target_link_libraries(${TARGET_NAME} wsock32 ws2_32)
target_link_libraries(${TARGET_NAME} Threads::Threads wsock32 ws2_32)
endif()
################################
# Testing
################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment