vdemin

fix-doc-build.patch

Aug 23rd, 2015
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index 944f85e..92561ae 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -1,6 +1,6 @@
  6.  project(fatrat)
  7.  
  8. -cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
  9. +cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR)
  10.  if(COMMAND cmake_policy)
  11.     cmake_policy(SET CMP0003 NEW)
  12.  endif(COMMAND cmake_policy)
  13. @@ -654,7 +654,7 @@ if(WITH_JPLUGINS)
  14.  endif(WITH_JPLUGINS)
  15.  
  16.  if(WITH_DOCUMENTATION)
  17. -   execute_process(COMMAND qcollectiongenerator
  18. +   execute_process(COMMAND ${QT_QCOLLECTIONGENERATOR_EXECUTABLE}
  19.     ${CMAKE_CURRENT_SOURCE_DIR}/doc/fatrat.qhcp -o
  20.     ${CMAKE_CURRENT_SOURCE_DIR}/doc/fatrat.qhc)
  21.     install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/fatrat.qhc DESTINATION share/fatrat/doc)
RAW Paste Data