1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Add enet target

This commit is contained in:
nordsoft 2023-01-18 23:47:28 +04:00
parent 1e60d5fe0b
commit 8ac0aa4bdf

View File

@ -469,6 +469,11 @@ macro(add_main_lib TARGET_NAME LIBRARY_TYPE)
target_link_libraries(${TARGET_NAME} PUBLIC iOS_utils)
endif()
# Conan compatibility
if(TARGET enet::enet)
target_link_libraries(${TARGET_NAME} PUBLIC enet::enet)
endif()
target_include_directories(${TARGET_NAME}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC ${MAIN_LIB_DIR}/..