Ticket #32302: patch-Tools_CMakeLists.txt.diff

File patch-Tools_CMakeLists.txt.diff, 591 bytes (added by marin.saric@…, 13 years ago)
  • Tools/CMakeLists.txt

    old new  
    1414  add_subdirectory(XMLConverter)
    1515  add_subdirectory(MeshUpgrader)
    1616endif (NOT OGRE_BUILD_PLATFORM_IPHONE)
     17
     18if (MACPORTS)
     19  install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
     20    DESTINATION ${MACPORTS_OGRE_TOOLS_PATH}
     21    PATTERN ".svn" EXCLUDE
     22    PATTERN "src" EXCLUDE
     23    PATTERN "CMakeFiles" EXCLUDE
     24    PATTERN "cmake_install.cmake" EXCLUDE
     25    PATTERN "CMakeLists.txt" EXCLUDE
     26    PATTERN "Makefile" EXCLUDE
     27  )
     28endif (MACPORTS)