Code

Cmake: Fix issue with generated sp-marshall.h/.cpp not linking
[inkscape.git] / src / helper / CMakeLists.txt
index 223301743a45219b682f29c2ab9f565ec28ead6a..4ad7db1b16afe8e00cde598245fc1c196bd77bcc 100644 (file)
@@ -1,6 +1,10 @@
 include(UseGlibMarshal)
 
 GLIB_MARSHAL(sp_marshal helper/sp-marshal "${CMAKE_CURRENT_BINARY_DIR}/helper")
+SET(GlibOutput
+${CMAKE_CURRENT_BINARY_DIR}/helper/sp-marshal.cpp
+${CMAKE_CURRENT_BINARY_DIR}/helper/sp-marshal.h
+)
 
 SET(helper_SRC
 action.cpp
@@ -15,5 +19,5 @@ unit-tracker.cpp
 window.cpp
 sp-marshal.list
 # we generate this file and it's .h counter-part
-#sp-marshal.cpp
+#${CMAKE_CURRENT_BINARY_DIR}/helper/sp-marshal.cpp
 )