Revision: 41453
http://brlcad.svn.sourceforge.net/brlcad/?rev=41453&view=rev
Author: starseeker
Date: 2010-11-23 20:02:50 +0000 (Tue, 23 Nov 2010)
Log Message:
-----------
Actually we want the path the dir containing the file, not the file itself.
Modified Paths:
--------------
brlcad/branches/cmake/src/other/CMakeLists.txt
Modified: brlcad/branches/cmake/src/other/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/CMakeLists.txt 2010-11-23 20:00:19 UTC
(rev 41452)
+++ brlcad/branches/cmake/src/other/CMakeLists.txt 2010-11-23 20:02:50 UTC
(rev 41453)
@@ -121,7 +121,7 @@
FILE(READ ${CMAKE_BINARY_DIR}/CMakeTmp/tcl_inittcl tcl_inittcl_raw)
STRING(REGEX REPLACE "\n" "" tcl_inittcl_paths_1 ${tcl_inittcl_raw})
STRING(REGEX REPLACE " " ";" tcl_inittcl_paths ${tcl_inittcl_paths_1})
- FIND_FILE(tcl_inittcl NAMES init.tcl PATHS ${tcl_inittcl_paths})
+ FIND_PATH(tcl_inittcl NAMES init.tcl PATHS ${tcl_inittcl_paths})
FILE(APPEND ${CONFIG_H_FILE} "#define TCL_SYSTEM_INITTCL
\"${tcl_inittcl}\"\n")
ENDIF(BRLCAD_BUILD_LOCAL_TCL OR BRLCAD-ENABLE_ALL_LOCAL_LIBS)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits