From: johanengelen Date: Sat, 5 Apr 2008 16:58:40 +0000 (+0000) Subject: cmake: revert last commit because the current directory is included when building X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=232d95029c7d17937827f4a94425a07c5904712d;p=inkscape.git cmake: revert last commit because the current directory is included when building --- diff --git a/CMakeScripts/UseGlibMarshal.cmake b/CMakeScripts/UseGlibMarshal.cmake index 7d9f0f3ed..3a961081f 100644 --- a/CMakeScripts/UseGlibMarshal.cmake +++ b/CMakeScripts/UseGlibMarshal.cmake @@ -14,7 +14,7 @@ FIND_PROGRAM(GLIB_MARSHAL_EXECUTABLE NAMES glib-genmarshal PATHS /usr/local/bin MACRO(GLIB_MARSHAL GLIB_MARSHAL_PREFIX GLIB_MARSHAL_LIST GLIB_MARSHAL_OUTPUT_LOCATION) IF(GLIB_MARSHAL_EXECUTABLE) SET(GLIB_MARSHAL_OUTPUT_TEMP) - SET(GLIB_MARSHAL_OUTPUT_EXTRA_LINE "#include \"${GLIB_MARSHAL_OUTPUT_LOCATION}/${GLIB_MARSHAL_PREFIX}.h\" " ) + SET(GLIB_MARSHAL_OUTPUT_EXTRA_LINE "#include \"${GLIB_MARSHAL_PREFIX}.h\" " ) EXECUTE_PROCESS(COMMAND "${GLIB_MARSHAL_EXECUTABLE} --prefix=${GLIB_MARSHAL_PREFIX} --header ${CMAKE_CURRENT_SOURCE_DIR}/${GLIB_MARSHAL_LIST}" OUTPUT_VARIABLE "${GLIB_MARSHAL_OUTPUT_HEADER}" )