Revision: 45981
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45981&view=rev
Author:   starseeker
Date:     2011-08-15 02:09:27 +0000 (Mon, 15 Aug 2011)

Log Message:
-----------
Be slightly more aggressive with the find_library command for itcl

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

Modified: brlcad/trunk/src/other/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/CMakeLists.txt       2011-08-15 02:01:11 UTC (rev 
45980)
+++ brlcad/trunk/src/other/CMakeLists.txt       2011-08-15 02:09:27 UTC (rev 
45981)
@@ -323,7 +323,7 @@
        SET(ITCL_BIN_PREFIX ${CMAKE_BINARY_DIR}/${LIB_DIR})
 ELSE(BRLCAD_ITCL_BUILD)
        SET(ITCL_VERSION "${ITCL_PACKAGE_VERSION}" CACHE STRING "ITCL_VERSION" 
FORCE)
-       find_library(ITCL_LIBRARY itcl)
+       find_library(ITCL_LIBRARY NAMES itcl itcl${ITCL_PACKAGE_VERSION} 
PATH_SUFFIXES itcl${ITCL_PACKAGE_VERSION})
        SET(ITCL_LIBRARY ${ITCL_LIBRARY} CACHE STRING "ITCL_LIBRARY" FORCE)
        get_filename_component(ITCL_BIN_PREFIX ${ITCL_LIBRARY} PATH)
        MARK_AS_ADVANCED(ITCL_LIBRARY)


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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to