cmake: Fix po building.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 14:15:52 +0000 (14:15 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 14:15:52 +0000 (14:15 +0000)
extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt

index 54f9f83..c0880a6 100644 (file)
@@ -71,7 +71,7 @@ FOREACH( pofile ${POFILES} )
 ENDFOREACH( pofile)
 
 ADD_CUSTOM_TARGET( all-po ALL
-    DEPENDS ${po-target}
+    DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${po-target}
 )
 
 foreach( pofile ${POFILES} )