fix(cmake/Modules/CleanOlean.cmake): problem with 'clean-olean'

For some reason it was not working anymore on OSX
This commit is contained in:
Leonardo de Moura 2015-07-20 23:21:51 -07:00
parent ff425b66e7
commit 9a85a95893

View file

@ -1,8 +1,8 @@
FILE(GLOB_RECURSE OLEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR} *.olean)
FILE(GLOB_RECURSE D_FILES ${CMAKE_CURRENT_SOURCE_DIR} *.d)
FILE(GLOB_RECURSE CLEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR} *.clean)
FILE(GLOB_RECURSE ILEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR} *.ilean)
FILE(GLOB_RECURSE TAGS_FILES ${CMAKE_CURRENT_SOURCE_DIR} TAGS)
FILE(GLOB_RECURSE OLEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.olean)
FILE(GLOB_RECURSE D_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.d)
FILE(GLOB_RECURSE CLEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.clean)
FILE(GLOB_RECURSE ILEAN_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.ilean)
FILE(GLOB_RECURSE TAGS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/TAGS)
IF(OLEAN_FILES)
FILE(REMOVE ${OLEAN_FILES})