From 8f679831bc6cf9de2c9ff04f0c68efce12b65d93 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 26 Jul 2022 13:23:58 +0800 Subject: [PATCH] camke: fix server compile definitions --- server/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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})