From cf02ada7a11e5a84a44a142c5d1e7e75f5477d35 Mon Sep 17 00:00:00 2001 From: chmielew Date: Wed, 18 Dec 2019 16:07:14 +0100 Subject: [PATCH] making formatting optional Change-Id: Ic2d0d052b110ae1760cb1887f0c948efc4dd3910 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2d171fb1a..5428a7dd40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -873,7 +873,9 @@ if(EXISTS ${NEO_SOURCE_DIR}/../internal) endif(EXISTS ${NEO_SOURCE_DIR}/../internal) add_subdirectory_unique(scripts/lint) -add_subdirectory_unique(scripts/format) +if(EXISTS scripts/format) + add_subdirectory_unique(scripts/format) +endif() configure_file(config.h.in ${NEO_BUILD_DIR}/config.h) if(WIN32 AND NOT IGDRCL__IGC_FOUND)