[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2859: Remember the location of po2nsh so we can use it in custom c (vidalia/trunk/src/tools/po2nsh)



Author: edmanm
Date: 2008-07-13 00:35:03 -0400 (Sun, 13 Jul 2008)
New Revision: 2859

Modified:
   vidalia/trunk/src/tools/po2nsh/CMakeLists.txt
Log:
 Remember the location of po2nsh so we can use it in custom commands.


Modified: vidalia/trunk/src/tools/po2nsh/CMakeLists.txt
===================================================================
--- vidalia/trunk/src/tools/po2nsh/CMakeLists.txt	2008-07-13 04:29:06 UTC (rev 2858)
+++ vidalia/trunk/src/tools/po2nsh/CMakeLists.txt	2008-07-13 04:35:03 UTC (rev 2859)
@@ -21,3 +21,7 @@
 ## Link the executable with the appropriate Qt libraries
 target_link_libraries(po2nsh ${QT_LIBRARIES} common)
 
+## Remember the location of po2nsh so we can use it in custom commands
+get_target_property(PO2NSH_EXECUTABLE po2nsh LOCATION)
+set(VIDALIA_PO2NSH_EXECUTABLE ${PO2NSH_EXECUTABLE}
+    CACHE STRING "Location of Vidalia's po2nsh converter." FORCE)