camke: fix server compile definitions

This commit is contained in:
Xiaofeng Wang 2022-07-26 13:23:58 +08:00
parent a35134a5ca
commit 8f679831bc

View File

@ -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})