Build the tools dir only if the cmake file exists

This commit is contained in:
Matthew Barr 2015-12-08 14:40:20 +11:00
parent b6508811c0
commit b460f47476

View File

@ -332,7 +332,7 @@ endif()
add_subdirectory(util)
add_subdirectory(unit)
add_subdirectory(doc/dev-reference)
if (EXISTS ${CMAKE_SOURCE_DIR}/tools)
if (EXISTS ${CMAKE_SOURCE_DIR}/tools/CMakeLists.txt)
add_subdirectory(tools)
endif()