Revision: 41908
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41908&view=rev
Author:   starseeker
Date:     2011-01-04 01:55:55 +0000 (Tue, 04 Jan 2011)

Log Message:
-----------
Just like btclsh/bwish, mged needs to require itcl/itk be built if using local 
copies - build will succeed, but package require will fail.

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

Modified: brlcad/branches/cmake/src/mged/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/mged/CMakeLists.txt       2011-01-04 01:17:13 UTC 
(rev 41907)
+++ brlcad/branches/cmake/src/mged/CMakeLists.txt       2011-01-04 01:55:55 UTC 
(rev 41908)
@@ -116,6 +116,12 @@
 ELSE(NOT WIN32)
        BRLCAD_ADDEXEC(mged "${MGED_SOURCES}" "libtclcad libged libwdb libdm 
ws2_32.lib opengl32.lib")
 ENDIF(NOT WIN32)
+IF(${ITCL_LIBRARY} MATCHES "itcl")
+       ADD_DEPENDENCIES(mged itcl)
+ENDIF(${ITCL_LIBRARY} MATCHES "itcl")
+IF(${ITK_LIBRARY} MATCHES "itk")
+       ADD_DEPENDENCIES(mged itk)
+ENDIF(${ITK_LIBRARY} MATCHES "itk")
 IF(LEX_EXECUTABLE AND YACC_EXECUTABLE)
        SET_TARGET_PROPERTIES(mged PROPERTIES COMPILE_FLAGS "-DBC_WITH_PARSER")
 ENDIF(LEX_EXECUTABLE AND YACC_EXECUTABLE)


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
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