mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Add enet target
This commit is contained in:
parent
1e60d5fe0b
commit
8ac0aa4bdf
@ -469,6 +469,11 @@ macro(add_main_lib TARGET_NAME LIBRARY_TYPE)
|
|||||||
target_link_libraries(${TARGET_NAME} PUBLIC iOS_utils)
|
target_link_libraries(${TARGET_NAME} PUBLIC iOS_utils)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Conan compatibility
|
||||||
|
if(TARGET enet::enet)
|
||||||
|
target_link_libraries(${TARGET_NAME} PUBLIC enet::enet)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(${TARGET_NAME}
|
target_include_directories(${TARGET_NAME}
|
||||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
PUBLIC ${MAIN_LIB_DIR}/..
|
PUBLIC ${MAIN_LIB_DIR}/..
|
||||||
|
Loading…
Reference in New Issue
Block a user