aboutsummaryrefslogtreecommitdiff
path: root/project/cmake/xbmc-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/xbmc-config.cmake.in
parenteda7cc530f9770879a771252179fe4872b878ddf (diff)
cmake: rebrand from xbmc to kodi with backwards compatibility
Diffstat (limited to 'project/cmake/xbmc-config.cmake.in')
-rw-r--r--project/cmake/xbmc-config.cmake.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/project/cmake/xbmc-config.cmake.in b/project/cmake/xbmc-config.cmake.in
index ba271f3a6e..73d1c9c3a5 100644
--- a/project/cmake/xbmc-config.cmake.in
+++ b/project/cmake/xbmc-config.cmake.in
@@ -1,8 +1,4 @@
-SET(XBMC_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/xbmc)
-ADD_DEFINITIONS(@ARCH_DEFINES@)
+message(WARNING "find_package(xbmc) has been deprecated, please use find_package(kodi)")
-include(xbmc-addon-helpers)
+find_package(kodi REQUIRED)
+set(XBMC_INCLUDE_DIR ${KODI_INCLUDE_DIR}) \ No newline at end of file