summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/HelperFunctions.cmake
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-01-17 07:05:58 +0000
committerbryce <bryce@bryceharrington.org>2016-01-17 07:05:58 +0000
commitd278cb2d3be7ab401d6aae48fb39cabe8387f622 (patch)
tree1c8f0f3154870a60b28fa58e29b3b95cd04e61a4 /CMakeScripts/HelperFunctions.cmake
parentcmake: Cleanup comments a bit (diff)
downloadinkscape-d278cb2d3be7ab401d6aae48fb39cabe8387f622.tar.gz
inkscape-d278cb2d3be7ab401d6aae48fb39cabe8387f622.zip
cmake: Fix code style for consistency
Indentation to 4 spaces Prefer lower case for functions and macros (bzr r14596)
Diffstat (limited to 'CMakeScripts/HelperFunctions.cmake')
-rw-r--r--CMakeScripts/HelperFunctions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeScripts/HelperFunctions.cmake b/CMakeScripts/HelperFunctions.cmake
index 85cbe7157..f4ed255d5 100644
--- a/CMakeScripts/HelperFunctions.cmake
+++ b/CMakeScripts/HelperFunctions.cmake
@@ -12,8 +12,8 @@ function(pkg_check_variable _pkg _name)
set(_output_name "${_pkg_upper}_${_name_upper}")
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=${_name} ${_pkg}
- OUTPUT_VARIABLE _pkg_result
- OUTPUT_STRIP_TRAILING_WHITESPACE)
+ OUTPUT_VARIABLE _pkg_result
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
set("${_output_name}" "${_pkg_result}" CACHE STRING "pkg-config variable ${_name} of ${_pkg}")
endfunction()