CMakeLists.txt: Fix build

pull/157/head
Olivier Martin 2020-04-04 00:39:49 +02:00 committed by Olivier Martin
parent 26d288613d
commit 9663984e9d
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ else()
endif()
if(GATTLIB_BUILD_DOCS)
if (NOT Doxygen)
if (NOT Doxygen_FOUND)
message(FATAL_ERROR "Gattlib documentation requires Doxygen. Or disable doc generation with '-DGATTLIB_BUILD_DOCS=OFF'")
endif()