Ticket #32302: patch-Docs_CMakeLists.txt.diff

File patch-Docs_CMakeLists.txt.diff, 691 bytes (added by marin.saric@…, 13 years ago)
  • Docs/CMakeLists.txt

    old new  
    1414
    1515# Set docs target directory
    1616if (WIN32 OR APPLE)
    17   set(OGRE_DOCS_PATH "Docs")
     17  if (NOT MACPORTS)
     18    set(OGRE_DOCS_PATH "Docs")
     19  else()
     20    set(OGRE_DOCS_PATH ${MACPORTS_OGRE_DOCS_PATH})
     21  endif()
    1822elseif (UNIX)
    1923  set(OGRE_DOCS_PATH "share/OGRE/docs")
    2024endif ()
     
    2428    DESTINATION ${OGRE_DOCS_PATH}
    2529    PATTERN ".svn" EXCLUDE
    2630    PATTERN "src" EXCLUDE
     31    PATTERN "CMakeFiles" EXCLUDE
     32    PATTERN "cmake_install.cmake" EXCLUDE
     33    PATTERN "CMakeLists.txt" EXCLUDE
     34    PATTERN "Makefile" EXCLUDE
    2735  )
    2836endif ()
    2937