From: jiyong.min Date: Tue, 7 May 2019 10:14:24 +0000 (+0900) Subject: Add define for mc_ipc_service_connect() API to enable on_demand X-Git-Tag: accepted/tizen/unified/20190507.221751^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F205557%2F1;p=platform%2Fcore%2Fapi%2Fmedia-controller.git Add define for mc_ipc_service_connect() API to enable on_demand - Fix TC fail Change-Id: I811f8dea62e22c21eacae9d470a5fc6181425bde --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 28437be..49cc99e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,9 @@ ENDIF("${ARCH}" MATCHES "^arm.*") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DTIZEN_DEBUG") ADD_DEFINITIONS("-D_FILE_OFFSET_BITS=64") +IF(ON_DEMAND_SOCKET_ACTIVATION) +ADD_DEFINITIONS("-D_ON_DEMAND_SOCKET_ACTIVATION") +ENDIF(ON_DEMAND_SOCKET_ACTIVATION) SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")