openmohaa/code/server/CMakeLists.txt
2023-06-17 01:44:38 +02:00

12 lines
421 B
CMake

cmake_minimum_required(VERSION 3.5)
project(omohserver)
add_subdirectory("../fgame" "./fgame")
file(GLOB_RECURSE SOURCES_SERVER "./*.c*")
add_library(omohserver STATIC ${SOURCES_SERVER})
target_compile_features(omohserver PUBLIC cxx_nullptr)
target_compile_features(omohserver PUBLIC c_variadic_macros)
target_link_libraries(omohserver PRIVATE qcommon qcommon_standalone)
target_link_libraries(omohserver PRIVATE gcd)