summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-28 00:27:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-28 00:27:11 +0200
commitd317b5caaf433ae12907663db3a7e60c5082a0d1 (patch)
tree072ae0fc9d90cec40e35da6f24faf9275a68ebaf /cmake
parent75ff941b20b28f520b9ad78d5df7d7ba55db4623 (diff)
cmake: verbose load user settings
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()