Prevent CMake from failing if an empty atdna directory exists

This commit is contained in:
Phillip Stephens 2015-07-11 16:01:01 -07:00
parent 55adeec69c
commit 4bc6004a6a
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ install(EXPORT AthenaTargets DESTINATION ${INSTALL_CMAKE_DIR} COMPONENT Athena)
# atdna import #
################
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/atdna/")
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/atdna/CMakeLists.txt")
add_subdirectory(atdna)
endif()