Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Storz <philipp.storz@bareos.com>2019-11-30 20:37:37 +0300
committerPhilipp Storz <philipp.storz@bareos.com>2019-12-06 16:17:24 +0300
commit48170045db75559e23da257e141dda8424db09ef (patch)
tree69deb5163203b0e7be1019edbdd220694d0030cd /get_version.cmake
parenta6003d3dd217f258e2839d5709f2cf3ba24fe7ef (diff)
cmake: apply cmake-format to all cmake files
Diffstat (limited to 'get_version.cmake')
-rw-r--r--get_version.cmake10
1 files changed, 6 insertions, 4 deletions
diff --git a/get_version.cmake b/get_version.cmake
index 0297d83fa..738b282bf 100644
--- a/get_version.cmake
+++ b/get_version.cmake
@@ -18,9 +18,10 @@
cmake_minimum_required(VERSION 3.0)
if(NOT DEFINED VERSION_STRING)
- set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake"
- "${CMAKE_CURRENT_LIST_DIR}/core/cmake"
- "${CMAKE_CURRENT_LIST_DIR}/webui/cmake")
+ set(CMAKE_MODULE_PATH
+ "${CMAKE_CURRENT_LIST_DIR}/cmake" "${CMAKE_CURRENT_LIST_DIR}/core/cmake"
+ "${CMAKE_CURRENT_LIST_DIR}/webui/cmake"
+ )
find_package(Git QUIET)
include(BareosVersionFromGit)
@@ -32,7 +33,8 @@ if(NOT DEFINED VERSION_STRING)
else()
message(
FATAL_ERROR
- "BareosVersion.cmake not found and no git version available.")
+ "BareosVersion.cmake not found and no git version available."
+ )
endif()
endif()
endif()