Sfoglia il codice sorgente

Configure Utilities/Sphinx for standalone build with CTest

Include the CTestUseLaunchers module in the standalone build of
Utilities/Sphinx so that it can be built under CTest with the
CTEST_USE_LAUNCHERS option.
Brad King 12 anni fa
parent
commit
10ef247b88
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Utilities/Sphinx/CMakeLists.txt

+ 1 - 0
Utilities/Sphinx/CMakeLists.txt

@@ -15,6 +15,7 @@ if(NOT CMake_SOURCE_DIR)
   set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
   get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
   get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH)
+  include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)
   include(${CMake_SOURCE_DIR}/Source/CMakeVersionCompute.cmake)
   include(${CMake_SOURCE_DIR}/Source/CMakeInstallDestinations.cmake)
   unset(CMAKE_DATA_DIR)