From 486da564ef5d1e44a086b1645657a597307ce354 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 3 Feb 2003 13:31:31 -0500 Subject: [PATCH] ENH: add a better test for lib deps --- Tests/Complex/CMakeLists.txt | 1 + Tests/ComplexOneConfig/CMakeLists.txt | 1 + Tests/ComplexRelativePaths/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 881f11a27..54170d062 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -237,3 +237,4 @@ ENDIF(NOT STRING_REGEX_PASSED) SUBDIRS(Library Executable) SUBDIR_DEPENDS(Executable Library) EXPORT_LIBRARY_DEPENDENCIES(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake) +INCLUDE(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake OPTIONAL) diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index 881f11a27..54170d062 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -237,3 +237,4 @@ ENDIF(NOT STRING_REGEX_PASSED) SUBDIRS(Library Executable) SUBDIR_DEPENDS(Executable Library) EXPORT_LIBRARY_DEPENDENCIES(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake) +INCLUDE(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake OPTIONAL) diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index 881f11a27..54170d062 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -237,3 +237,4 @@ ENDIF(NOT STRING_REGEX_PASSED) SUBDIRS(Library Executable) SUBDIR_DEPENDS(Executable Library) EXPORT_LIBRARY_DEPENDENCIES(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake) +INCLUDE(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake OPTIONAL)