summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/UsePkgConfig.cmake
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-01-17 06:29:08 +0000
committerbryce <bryce@bryceharrington.org>2016-01-17 06:29:08 +0000
commitd659cad74d59dc5cb0ce157804dc094e6732479d (patch)
treea10e609e965c059c7193b6f4eed84e33d21ef94e /CMakeScripts/UsePkgConfig.cmake
parentpatch probably fixes bug 1534833 (diff)
downloadinkscape-d659cad74d59dc5cb0ce157804dc094e6732479d.tar.gz
inkscape-d659cad74d59dc5cb0ce157804dc094e6732479d.zip
cmake: Cleanup comments a bit
(bzr r14595)
Diffstat (limited to 'CMakeScripts/UsePkgConfig.cmake')
-rw-r--r--CMakeScripts/UsePkgConfig.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeScripts/UsePkgConfig.cmake b/CMakeScripts/UsePkgConfig.cmake
index 2de721238..f80e01ba8 100644
--- a/CMakeScripts/UsePkgConfig.cmake
+++ b/CMakeScripts/UsePkgConfig.cmake
@@ -33,7 +33,7 @@ MACRO(PKGCONFIG_FOUND _package _found)
# reset the variable at the beginning
SET(${_found})
-# if pkg-config has been found
+ # if pkg-config has been found
IF(PKGCONFIG_EXECUTABLE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --print-errors --exists RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
@@ -50,7 +50,7 @@ MACRO(PKGCONFIG_FOUND _package _found)
ENDMACRO(PKGCONFIG_FOUND _found)
MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
-# reset the variables at the beginning
+ # reset the variables at the beginning
SET(${_include_DIR})
SET(${_link_DIR})
SET(${_link_FLAGS})
@@ -81,14 +81,14 @@ MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
ENDMACRO(PKGCONFIG _include_DIR _link_DIR _link_FLAGS _cflags)
MACRO(PKGCONFIG_VERSION _package _version)
-# reset the variables at the beginning
+ # reset the variables at the beginning
SET(${_version})
-# if pkg-config has been found
+ # if pkg-config has been found
IF(PKGCONFIG_EXECUTABLE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --print-errors ${_package} --exists RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
-# and if the package of interest also exists for pkg-config, then get the information
+ # and if the package of interest also exists for pkg-config, then get the information
IF(NOT _return_VALUE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --print-errors ${_package} --modversion OUTPUT_VARIABLE ${_version} )
ENDIF(NOT _return_VALUE)
@@ -100,14 +100,14 @@ ENDMACRO(PKGCONFIG_VERSION _package _version)
MARK_AS_ADVANCED(PKGCONFIG_EXECUTABLE)
MACRO(PKGCONFIG_DEFINITION _package _definition)
-# reset the variables at the beginning
+ # reset the variables at the beginning
SET(${_definition})
-# if pkg-config has been found
+ # if pkg-config has been found
IF(PKGCONFIG_EXECUTABLE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --print-errors ${_package} --exists RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
-# and if the package of interest also exists for pkg-config, then get the information
+ # and if the package of interest also exists for pkg-config, then get the information
IF(NOT _return_VALUE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --print-errors ${_package} --cflags-only-other OUTPUT_VARIABLE ${_definition} )
ENDIF(NOT _return_VALUE)