aboutsummaryrefslogtreecommitdiff
path: root/project/cmake/addons/depends/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'project/cmake/addons/depends/CMakeLists.txt')
-rw-r--r--project/cmake/addons/depends/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/cmake/addons/depends/CMakeLists.txt b/project/cmake/addons/depends/CMakeLists.txt
index 5c4853497d..042a739690 100644
--- a/project/cmake/addons/depends/CMakeLists.txt
+++ b/project/cmake/addons/depends/CMakeLists.txt
@@ -1,4 +1,4 @@
-project(xbmc-addons-depends)
+project(kodi-addons-depends)
cmake_minimum_required(VERSION 2.8)
@@ -14,7 +14,7 @@ endif()
include(ExternalProject)
-if(NOT CMAKE_INSTALL_PREFIX)
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR NOT CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/../output/depends)
else()
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX)