mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-01-15 22:04:17 -05:00
Use generator expression for compiler specifc linking
This commit is contained in:
@@ -66,13 +66,10 @@ target_link_libraries(stationchat
|
||||
stationapi
|
||||
udplibrary
|
||||
${Boost_LIBRARIES}
|
||||
${SQLite3_LIBRARY})
|
||||
${SQLite3_LIBRARY}
|
||||
$<$<PLATFORM_ID:Windows>:ws2_32>)
|
||||
|
||||
target_include_directories(stationchat PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(stationchat ws2_32)
|
||||
endif()
|
||||
|
||||
install(TARGETS stationchat RUNTIME DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user