Revision: 51740
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51740&view=rev
Author:   starseeker
Date:     2012-08-01 13:55:29 +0000 (Wed, 01 Aug 2012)
Log Message:
-----------
don't hardcode the data path on Windows, that won't work...

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2012-08-01 13:54:20 UTC (rev 51739)
+++ brlcad/trunk/CMakeLists.txt 2012-08-01 13:55:29 UTC (rev 51740)
@@ -2102,7 +2102,7 @@
     set(CPACK_GENERATOR NSIS)
     set(CPACK_NSIS_PACKAGE_NAME "BRL-CAD")
     set(CPACK_SOURCE_DIR ${CMAKE_SOURCE_DIR})
-    set(CPACK_DATA_DIR "share\\\\brlcad\\\\${BRLCAD_VERSION}")
+    string(REPLACE "/" "\\\\" "${DATA_DIR}" CPACK_DATA_DIR)
     # There is a bug in NSI that does not handle full unix paths properly. Make
     # sure there is at least one set of four (4) backlasshes.
     set(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/misc/nsis\\\\brlcad.ico")

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to