diff options
Diffstat (limited to 'Tests/ComplexRelativePaths')
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index 80df627..d16d66e 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -273,7 +273,8 @@ ENDIF(NOT STRING_REGEX_PASSED) # # Create the libs and the main exe # -SUBDIRS(Library Executable) +ADD_SUBDIRECTORY(Library) +ADD_SUBDIRECTORY(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/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index 55b02e1..6c1deb5 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -65,7 +65,7 @@ ADD_CUSTOM_COMMAND( # has no side-effects on the current Makefile (duplicated source file # due to source list expansion done twice). # -SUBDIRS(Temp) +ADD_SUBDIRECTORY(Temp) # # Extra coverage.Not used. |