summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c1f6c2a)
raw | patch | inline | side by side (parent: c1f6c2a)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 5 Apr 2008 16:56:04 +0000 (16:56 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 5 Apr 2008 16:56:04 +0000 (16:56 +0000) |
CMakeScripts/UseGlibMarshal.cmake | patch | blob | history |
index 74245cbdb783308adb15370a85b952b7d17a1655..7d9f0f3ed54827469c0d1558e58c6d1b29c4b44c 100644 (file)
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_PREFIX}.h \" " )
+ SET(GLIB_MARSHAL_OUTPUT_EXTRA_LINE "#include \"${GLIB_MARSHAL_OUTPUT_LOCATION}/${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}" )