r23484 - gnucash/trunk/src/engine - Fix cutecash build: Calling the iso-currencies-to-c script can directly use the unchanged .in script because we call the GUILE_EXECUTABLE directly from cmake.

Christian Stimming cstim at code.gnucash.org
Wed Dec 4 02:30:55 EST 2013


Author: cstim
Date: 2013-12-04 02:30:54 -0500 (Wed, 04 Dec 2013)
New Revision: 23484
Trac: http://svn.gnucash.org/trac/changeset/23484

Modified:
   gnucash/trunk/src/engine/CMakeLists.txt
Log:
Fix cutecash build: Calling the iso-currencies-to-c script can directly use the unchanged .in script because we call the GUILE_EXECUTABLE directly from cmake.

Modified: gnucash/trunk/src/engine/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/engine/CMakeLists.txt	2013-12-04 04:26:22 UTC (rev 23483)
+++ gnucash/trunk/src/engine/CMakeLists.txt	2013-12-04 07:30:54 UTC (rev 23484)
@@ -77,9 +77,9 @@
 SET (ISO_4217_C ${CMAKE_CURRENT_BINARY_DIR}/iso-4217-currencies.c)
 ADD_CUSTOM_COMMAND (
   OUTPUT ${ISO_4217_C}
-  DEPENDS iso-4217-currencies.scm iso-currencies-to-c
+  DEPENDS iso-4217-currencies.scm iso-currencies-to-c.in
   COMMAND
-    ${GUILE_EXECUTABLE} -s "${CMAKE_CURRENT_SOURCE_DIR}/iso-currencies-to-c" "${CMAKE_CURRENT_SOURCE_DIR}"
+    ${GUILE_EXECUTABLE} -s "${CMAKE_CURRENT_SOURCE_DIR}/iso-currencies-to-c.in" "${CMAKE_CURRENT_SOURCE_DIR}"
 )
 # Add dependency on iso-4217-currencies.c
 SET_SOURCE_FILES_PROPERTIES (gnc-commodity.c PROPERTIES OBJECT_DEPENDS ${ISO_4217_C})



More information about the gnucash-changes mailing list