Move cmake utils into separate directory
This commit is contained in:
parent
bbed25538c
commit
6ef0d7a46e
@ -9,7 +9,7 @@ cmake_policy(SET CMP0054 NEW)
|
|||||||
|
|
||||||
project(cryfs)
|
project(cryfs)
|
||||||
|
|
||||||
include(utils.cmake)
|
include(cmake-utils/utils.cmake)
|
||||||
|
|
||||||
require_gcc_version(5.0)
|
require_gcc_version(5.0)
|
||||||
require_clang_version(4.0)
|
require_clang_version(4.0)
|
||||||
|
@ -149,7 +149,7 @@ function(find_library_with_path OUTPUT_VARIABLE LIBRARY_NAME PATH_VARIABLE)
|
|||||||
endif(${PATH_VARIABLE})
|
endif(${PATH_VARIABLE})
|
||||||
endfunction(find_library_with_path)
|
endfunction(find_library_with_path)
|
||||||
|
|
||||||
include(TargetArch.cmake)
|
include(cmake-utils/TargetArch.cmake)
|
||||||
function(get_target_architecture output_var)
|
function(get_target_architecture output_var)
|
||||||
target_architecture(local_output_var)
|
target_architecture(local_output_var)
|
||||||
set(${output_var} ${local_output_var} PARENT_SCOPE)
|
set(${output_var} ${local_output_var} PARENT_SCOPE)
|
Loading…
Reference in New Issue
Block a user