From 246f8289b68bd2ac89438a9c97fbcc325edc3a8f Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Fri, 17 Sep 2021 15:22:06 +0200 Subject: [PATCH] CMake: Fix compiler error with mismatching visibility of target_link_libraries --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4754864..bdcf042 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,7 @@ elseif (WIN32) message(STATUS "Looking for RapidJSON") find_package(RapidJSON CONFIG REQUIRED) target_include_directories(BeamMP-Server PRIVATE ${RAPIDJSON_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) - target_link_libraries(BeamMP-Server PRIVATE + target_link_libraries(BeamMP-Server ws2_32 ZLIB::ZLIB ${LUA_LIBRARIES}