diff options
author | montellese <montellese@xbmc.org> | 2015-02-19 11:26:47 +0100 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-02-19 11:26:47 +0100 |
commit | 35b7ab3ff0d1ec30815cde79d1df3b37d333363a (patch) | |
tree | 37a857e32ccc9254fb799995353ffa166d9b6e8b /project | |
parent | 0699285185b395c7c432b436a0e6d1e92a6a421c (diff) |
cmake: fix include of check_target_platform.cmake
Diffstat (limited to 'project')
-rw-r--r-- | project/cmake/addons/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt index 114d32493c..48fff4b112 100644 --- a/project/cmake/addons/CMakeLists.txt +++ b/project/cmake/addons/CMakeLists.txt @@ -13,7 +13,6 @@ if(NOT CORE_SYSTEM_NAME) endif() include(ExternalProject) -include(${APP_ROOT}/project/cmake/scripts/common/check_target_platform.cmake) ### setup all the necessary paths if(NOT APP_ROOT AND NOT XBMCROOT) @@ -106,6 +105,9 @@ if(EXISTS ${PLATFORM_DIR}/defines.txt) endif() endif() +# include check_target_platform() function +include(${APP_ROOT}/project/cmake/scripts/common/check_target_platform.cmake) + ### prepare the build environment for the binary addons # copy the prepare-env.cmake script to the depends path so that we can include it file(COPY ${APP_ROOT}/project/cmake/scripts/common/prepare-env.cmake DESTINATION ${KODI_LIB_DIR}) |