Move cmake utils into separate directory

This commit is contained in:
Sebastian Messmer 2018-09-22 09:37:47 -07:00
parent bbed25538c
commit 6ef0d7a46e
3 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ cmake_policy(SET CMP0054 NEW)
project(cryfs)
include(utils.cmake)
include(cmake-utils/utils.cmake)
require_gcc_version(5.0)
require_clang_version(4.0)

View File

@ -149,7 +149,7 @@ function(find_library_with_path OUTPUT_VARIABLE LIBRARY_NAME PATH_VARIABLE)
endif(${PATH_VARIABLE})
endfunction(find_library_with_path)
include(TargetArch.cmake)
include(cmake-utils/TargetArch.cmake)
function(get_target_architecture output_var)
target_architecture(local_output_var)
set(${output_var} ${local_output_var} PARENT_SCOPE)