浏览代码

BUG: Fix SimpleInstall test to work with new dependency of package on all.

Brad King 18 年之前
父节点
当前提交
24d6ecd81c
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      Tests/SimpleInstall/CMakeLists.txt
  2. 1 0
      Tests/SimpleInstallS2/CMakeLists.txt

+ 1 - 0
Tests/SimpleInstall/CMakeLists.txt

@@ -18,6 +18,7 @@ SET(CMAKE_INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/MyTest/lib)
 # Skip the dependency that causes a build when installing.  This
 # avoids infinite loops when the post-build rule below installs.
 SET(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1)
+SET(CMAKE_SKIP_PACKAGE_ALL_DEPENDENCY 1)
 
 SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
 

+ 1 - 0
Tests/SimpleInstallS2/CMakeLists.txt

@@ -18,6 +18,7 @@ SET(CMAKE_INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/MyTest/lib)
 # Skip the dependency that causes a build when installing.  This
 # avoids infinite loops when the post-build rule below installs.
 SET(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1)
+SET(CMAKE_SKIP_PACKAGE_ALL_DEPENDENCY 1)
 
 SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")