aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2015-03-03 10:55:47 +0100
committerRainer Hochecker <fernetmenta@online.de>2015-03-03 10:55:47 +0100
commitc57c298e5a41db919bde5d10a40e6ff4c8088dcb (patch)
tree4975e1f6c5d8fa6fb190935fef744974faecd6ec
parent08e84b7cf155511b6194994e3f2b75d5f2c37cfd (diff)
[cmake] add define BUILD_KODI_ADDON
-rw-r--r--project/cmake/kodi-config.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/kodi-config.cmake.in b/project/cmake/kodi-config.cmake.in
index 0e3b1580ad..118d723cab 100644
--- a/project/cmake/kodi-config.cmake.in
+++ b/project/cmake/kodi-config.cmake.in
@@ -6,6 +6,6 @@ IF(NOT WIN32)
SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@")
ENDIF()
LIST(APPEND CMAKE_MODULE_PATH @prefix@/lib/kodi)
-ADD_DEFINITIONS(@ARCH_DEFINES@)
+ADD_DEFINITIONS(@ARCH_DEFINES@ -DBUILD_KODI_ADDON)
include(addon-helpers)