Explorar el Código

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

Brad King hace 18 años
padre
commit
24d6ecd81c
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  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")