Correctly fix mootools symlinks being installed twice in cmake this time

This commit is contained in:
Kfir Itzhak 2013-11-22 20:23:58 +02:00
parent 729f0364df
commit 89689d8f3f
1 changed files with 0 additions and 5 deletions

View File

@ -11,8 +11,3 @@ install(DIRECTORY ajax css graphics includes js lang skins tools views DESTINATI
install(FILES index.php README.md DESTINATION "${ZM_WEBDIR}")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/includes/config.php" DESTINATION "${ZM_WEBDIR}/includes")
# Install the mootools symlinks (if its not in the source directory)
if(NOT (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR))
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tools/mootools/mootools-core.js" DESTINATION "${ZM_WEBDIR}/tools/mootools")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tools/mootools/mootools-more.js" DESTINATION "${ZM_WEBDIR}/tools/mootools")
endif(NOT (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR))