summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-load-user-settings.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/opentrack-load-user-settings.cmake b/cmake/opentrack-load-user-settings.cmake
index ab88d2a8..f1598ae1 100644
--- a/cmake/opentrack-load-user-settings.cmake
+++ b/cmake/opentrack-load-user-settings.cmake
@@ -28,8 +28,13 @@ else()
set(__sdk_os_maybe_target "")
endif()
-set(__sdk_paths_filename "${CMAKE_SOURCE_DIR}/sdk-paths-${__sdk_username}@${CMAKE_CXX_COMPILER_ID}-${__sdk_os_maybe_target}${__sdk_os}.cmake")
+set(__sdk_paths_basename "sdk-paths-${__sdk_username}@${CMAKE_CXX_COMPILER_ID}-${__sdk_os_maybe_target}${__sdk_os}.cmake")
+
+set(__sdk_paths_filename "${CMAKE_SOURCE_DIR}/${__sdk_paths_basename}")
if(EXISTS "${__sdk_paths_filename}")
+ message(STATUS "Loading user settings '${__sdk_paths_basename}'")
include("${__sdk_paths_filename}")
+else()
+ message(STATUS "User settings file '${__sdk_paths_basename}' doesn't exist")
endif()