mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +02:00
7 lines
249 B
CMake
7 lines
249 B
CMake
add_main_lib(vcmi SHARED)
|
|
target_include_directories(vcmi PRIVATE ${ENET_INCLUDE_DIRS})
|
|
target_link_libraries(vcmi PRIVATE ${ENET_LIBRARIES})
|
|
if(ENABLE_SINGLE_APP_BUILD)
|
|
target_compile_definitions(vcmi PUBLIC VCMI_LIB_NAMESPACE=LIB_CLIENT)
|
|
endif()
|