mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
fd97b51183
when building vcmi_lib statically (or linking against static vcmi_lib) do not place dllexport/dllimport tags
4 lines
187 B
CMake
4 lines
187 B
CMake
add_main_lib(vcmi_lib_server STATIC)
|
|
target_compile_definitions(vcmi_lib_server PUBLIC VCMI_LIB_NAMESPACE=LIB_SERVER)
|
|
target_compile_definitions(vcmi_lib_server PUBLIC VCMI_DLL_STATIC=1)
|