aboutsummaryrefslogtreecommitdiff
path: root/project/cmake/kodi-config.cmake.in
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-11-01 00:02:56 +0100
committermontellese <montellese@xbmc.org>2014-11-01 00:19:52 +0100
commit683e36e73c776cc8ce7653c1ba5abebe731aa9a9 (patch)
treec1ea7f091c60997679fcca84f39cf30f96a7142c /project/cmake/kodi-config.cmake.in
parenteda7cc530f9770879a771252179fe4872b878ddf (diff)
cmake: rebrand from xbmc to kodi with backwards compatibility
Diffstat (limited to 'project/cmake/kodi-config.cmake.in')
-rw-r--r--project/cmake/kodi-config.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/project/cmake/kodi-config.cmake.in b/project/cmake/kodi-config.cmake.in
new file mode 100644
index 0000000000..50e12a8a71
--- /dev/null
+++ b/project/cmake/kodi-config.cmake.in
@@ -0,0 +1,8 @@
+SET(KODI_INCLUDE_DIR @prefix@/include)
+SET(APP_NAME @APP_NAME@)
+SET(APP_VERSION_MAJOR @APP_VERSION_MAJOR@)
+SET(APP_VERSION_MINOR @APP_VERSION_MINOR@)
+LIST(APPEND CMAKE_MODULE_PATH @prefix@/lib/kodi)
+ADD_DEFINITIONS(@ARCH_DEFINES@)
+
+include(addon-helpers)