Bladeren bron

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

Brad King 18 jaren geleden
bovenliggende
commit
24d6ecd81c
2 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  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")