Correct typo which made distclean target malfunction

Probably typed _DIRECTORY instead of _DIR since there were other
variables nearby with that suffix.
This commit is contained in:
Roland Kaufmann 2013-02-14 13:18:47 +01:00
parent 0af4c3bbca
commit 9320faaf83

View File

@ -35,7 +35,7 @@ macro (opm_dist_clean opm)
${${opm}_STYLESHEET_COPIED} ${${opm}_STYLESHEET_COPIED}
) )
# script to remove empty directories (can't believe this isn't included!) # script to remove empty directories (can't believe this isn't included!)
set (rmdir "${PROJECT_SOURCE_DIRECTORY}/cmake/Scripts/RemoveEmptyDir.cmake") set (rmdir "${PROJECT_SOURCE_DIR}/cmake/Scripts/RemoveEmptyDir.cmake")
add_custom_target (distclean add_custom_target (distclean
COMMAND ${CMAKE_COMMAND} -E remove -f ${DISTCLEAN_FILES} COMMAND ${CMAKE_COMMAND} -E remove -f ${DISTCLEAN_FILES}
COMMAND ${CMAKE_COMMAND} -E remove_directory CMakeFiles/ COMMAND ${CMAKE_COMMAND} -E remove_directory CMakeFiles/