Revision: 45906
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45906&view=rev
Author:   starseeker
Date:     2011-08-10 20:13:17 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
Ah - when doing the local termlib, we have to specify that we are using the 
termcap.h header as well.  Probably didn't spot this sooner because most 
systems had a system termcap.h and the BRLCAD_INCLUDE_FILE test just happened 
to work as well.

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

Modified: brlcad/trunk/src/other/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/CMakeLists.txt       2011-08-10 20:10:02 UTC (rev 
45905)
+++ brlcad/trunk/src/other/CMakeLists.txt       2011-08-10 20:13:17 UTC (rev 
45906)
@@ -102,7 +102,10 @@
 
 IF(HAVE_TERMLIB)
    THIRD_PARTY_OPTION(TERMLIB termlib)
-   THIRD_PARTY_SUBDIR(TERMLIB libtermlib)
+       THIRD_PARTY_SUBDIR(TERMLIB libtermlib)
+       IF(BRLCAD_BUILD_LOCAL_TERMLIB)
+               SET(HAVE_TERMCAP_H 1 CACHE BOOL "src/other termlib is on" FORCE)
+       ENDIF(BRLCAD_BUILD_LOCAL_TERMLIB)
 ELSE(HAVE_TERMLIB)
        DISTCHECK_IGNORE_ITEM(libtermlib)
 ENDIF(HAVE_TERMLIB)


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