Revision: 77937
http://sourceforge.net/p/brlcad/code/77937
Author: starseeker
Date: 2020-12-06 17:56:55 +0000 (Sun, 06 Dec 2020)
Log Message:
-----------
If wishcmd is set to a build target, we can't test since the executable doesn't
exist yet.
Modified Paths:
--------------
brlcad/trunk/misc/CMake/ThirdParty_TCL.cmake
Modified: brlcad/trunk/misc/CMake/ThirdParty_TCL.cmake
===================================================================
--- brlcad/trunk/misc/CMake/ThirdParty_TCL.cmake 2020-12-06 05:41:06 UTC
(rev 77936)
+++ brlcad/trunk/misc/CMake/ThirdParty_TCL.cmake 2020-12-06 17:56:55 UTC
(rev 77937)
@@ -246,10 +246,10 @@
set(${PKGNAME_UPPER}_FOUND_STATUS ${${PKGNAME_UPPER}_FOUND})
# 1. If we have no wish command, we fail immediately.
- if("${wishcmd}" STREQUAL "" OR "${wishcmd}" MATCHES "NOTFOUND")
+ if("${wishcmd}" STREQUAL "" OR "${wishcmd}" MATCHES "NOTFOUND" OR TARGET
"${wishcmd}")
message(WARNING "Test for ${pkgname} failed - no tclsh/wish command
available for testing!")
set(${PKGNAME_UPPER}_TEST_FAIL 1)
- endif("${wishcmd}" STREQUAL "" OR "${wishcmd}" MATCHES "NOTFOUND")
+ endif("${wishcmd}" STREQUAL "" OR "${wishcmd}" MATCHES "NOTFOUND" OR
TARGET "${wishcmd}")
# 2. We have wish - now things get interesting. Write out
# a Tcl script to probe for information on the package we're
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits