diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 0acfe0ac..5d482da5 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -39,6 +39,8 @@ if(ENABLE_SERVER_LIB) endif() add_executable(MediaServer ${MediaServer_SRC_LIST}) +target_compile_definitions(MediaServer + PRIVATE ${COMPILE_DEFINITIONS}) install(TARGETS MediaServer DESTINATION ${INSTALL_PATH_RUNTIME})