mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-23 16:36:49 +00:00
CMake: Fix compiler error with mismatching visibility of target_link_libraries
This commit is contained in:
@@ -133,7 +133,7 @@ elseif (WIN32)
|
|||||||
message(STATUS "Looking for RapidJSON")
|
message(STATUS "Looking for RapidJSON")
|
||||||
find_package(RapidJSON CONFIG REQUIRED)
|
find_package(RapidJSON CONFIG REQUIRED)
|
||||||
target_include_directories(BeamMP-Server PRIVATE ${RAPIDJSON_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
|
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
|
ws2_32
|
||||||
ZLIB::ZLIB
|
ZLIB::ZLIB
|
||||||
${LUA_LIBRARIES}
|
${LUA_LIBRARIES}
|
||||||
|
|||||||
Reference in New Issue
Block a user