CMake: Fix compiler error with mismatching visibility of target_link_libraries

This commit is contained in:
Lion Kortlepel 2021-09-17 15:22:06 +02:00
parent 3c7109b23f
commit 246f8289b6
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -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}