Revision: 42251
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42251&view=rev
Author:   starseeker
Date:     2011-01-13 21:06:57 +0000 (Thu, 13 Jan 2011)

Log Message:
-----------
We need to append the BRL-CAD version to the data install dir.

Modified Paths:
--------------
    brlcad/branches/cmake/CMakeLists.txt

Modified: brlcad/branches/cmake/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/CMakeLists.txt        2011-01-13 19:24:25 UTC (rev 
42250)
+++ brlcad/branches/cmake/CMakeLists.txt        2011-01-13 21:06:57 UTC (rev 
42251)
@@ -371,12 +371,12 @@
 # The location in which to install BRL-CAD data files 
 IF(NOT ${CMAKE_PROJECT_NAME}_INSTALL_DATA_DIR)
        IF (${CMAKE_INSTALL_PREFIX} MATCHES "^/usr[/]*$")
-               INSTALL_DIR(DATA "share/brlcad")
+               INSTALL_DIR(DATA "share/brlcad/${BRLCAD_VERSION}")
        ENDIF()
        IF (${CMAKE_INSTALL_PREFIX} MATCHES "^/usr/local[/]*$")
-               INSTALL_DIR(DATA "share/brlcad")
+               INSTALL_DIR(DATA "share/brlcad/${BRLCAD_VERSION}")
        ENDIF()
-       INSTALL_DIR(DATA "share")
+       INSTALL_DIR(DATA "share/${BRLCAD_VERSION}")
 ENDIF(NOT ${CMAKE_PROJECT_NAME}_INSTALL_DATA_DIR)
 
 # The location in which to install BRL-CAD Manual pages


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to