summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-18 18:32:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-18 18:32:51 (GMT)
commit785b0dc012a2623e83886066fd4929b4e361cea9 (patch)
treeb996432683a83a1716dcc722d12c87fab97d332d /Tests
parentb5ca101fd76554df01d60f210677df85e19af65e (diff)
downloadCMake-785b0dc012a2623e83886066fd4929b4e361cea9.zip
CMake-785b0dc012a2623e83886066fd4929b4e361cea9.tar.gz
CMake-785b0dc012a2623e83886066fd4929b4e361cea9.tar.bz2
ENH: all tests are passing for XCode
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExternalOBJ/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/ExternalOBJ/CMakeLists.txt b/Tests/ExternalOBJ/CMakeLists.txt
index eef5841..5003a88 100644
--- a/Tests/ExternalOBJ/CMakeLists.txt
+++ b/Tests/ExternalOBJ/CMakeLists.txt
@@ -34,7 +34,11 @@ ENDFOREACH(dir)
IF(EXTERNAL_OBJECT)
MESSAGE("Found \"${EXTERNAL_OBJECT}\".")
ELSE(EXTERNAL_OBJECT)
- MESSAGE(FATAL_ERROR "Could not find ${EXTERNAL_OBJECT_NAME}.")
+ FILE(GLOB_RECURSE EXTERNAL_OBJECT
+ "${ExternalOBJ_BINARY_DIR}/Object/${EXTERNAL_OBJECT_NAME}")
+ IF(NOT EXTERNAL_OBJECT)
+ MESSAGE(FATAL_ERROR "Could not find ${EXTERNAL_OBJECT_NAME}.")
+ ENDIF(NOT EXTERNAL_OBJECT)
ENDIF(EXTERNAL_OBJECT)
# Build an executable using the external object file.