From: Matthew Barr Date: Tue, 8 Dec 2015 03:40:20 +0000 (+1100) Subject: Build the tools dir only if the cmake file exists X-Git-Tag: v4.2.0^2~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b460f47476c7bae036e8cea7a01be3021b3e97ff;p=thirdparty%2Fvectorscan.git Build the tools dir only if the cmake file exists --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4034b14b..54e5c9f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()