diff options
author | Stefan Saraev <stefan@saraev.ca> | 2015-08-11 11:13:22 +0300 |
---|---|---|
committer | Stefan Saraev <stefan@saraev.ca> | 2015-08-11 11:13:56 +0300 |
commit | 9bf7286ed9d5e362a45cf7d247b9feba2883aab0 (patch) | |
tree | 007681b7c31c80f11364423d75a6b911a9d1b58c /project/cmake/kodi-config.cmake.in | |
parent | 6d50460c45a7ae9ec66e959cb28238ab1a5ea630 (diff) |
[binary addons] make sure CORE_SYSTEM_NAME is set
Diffstat (limited to 'project/cmake/kodi-config.cmake.in')
-rw-r--r-- | project/cmake/kodi-config.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/project/cmake/kodi-config.cmake.in b/project/cmake/kodi-config.cmake.in index 76626ec123..ac08226c80 100644 --- a/project/cmake/kodi-config.cmake.in +++ b/project/cmake/kodi-config.cmake.in @@ -12,4 +12,8 @@ ENDIF() LIST(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@) ADD_DEFINITIONS(@ARCH_DEFINES@ -DBUILD_KODI_ADDON) +if(NOT CORE_SYSTEM_NAME) + string(TOLOWER ${CMAKE_SYSTEM_NAME} CORE_SYSTEM_NAME) +endif() + include(addon-helpers) |