Find Gobject-Introspection: Reformat CMake code
+# ~~~
# - try to find gobject-introspection
#
# Once done this will define
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# ~~~
macro (_GIR_GET_PKGCONFIG_VAR _outvar _varname)
- execute_process(
- COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=${_varname} gobject-introspection-1.0
+ execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=${_varname} gobject-introspection-1.0
OUTPUT_VARIABLE _result
- RESULT_VARIABLE _null
- )
+ RESULT_VARIABLE _null)
if (_null)
else ()
@@ -51,13 +51,11 @@ if (PKG_CONFIG_FOUND)
endif ()
endif ()
-mark_as_advanced(
- INTROSPECTION_SCANNER
+mark_as_advanced (INTROSPECTION_SCANNER
INTROSPECTION_COMPILER
INTROSPECTION_GENERATE
INTROSPECTION_GIRDIR
INTROSPECTION_TYPELIBDIR
INTROSPECTION_CFLAGS
INTROSPECTION_LIBS
- INTROSPECTION_VERSION
-)
+ INTROSPECTION_VERSION)
