From 4d4bfbd77bee7b063ace34e5868b9f3334c08180 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 3 May 2017 18:08:54 +0200 Subject: [PATCH] Fix another mistake in CMakeLists in coreapi/help --- coreapi/help/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/help/CMakeLists.txt b/coreapi/help/CMakeLists.txt index 3d34f72da..6eafc4665 100644 --- a/coreapi/help/CMakeLists.txt +++ b/coreapi/help/CMakeLists.txt @@ -38,7 +38,7 @@ if (ENABLE_DOC OR ENABLE_CXX_WRAPPER OR ENABLE_CSHARP_WRAPPER) install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc/html" "${CMAKE_CURRENT_BINARY_DIR}/doc/xml" DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/linphone-${LINPHONE_VERSION}") else() - if (CXX_WRAPPER) + if (ENABLE_CXX_WRAPPER) message(FATAL_ERROR "The dot program is needed to generate the linphone documentation. You can get it from http://www.graphviz.org/.") else() message(WARNING "The dot program is needed to generate the linphone documentation. You can get it from http://www.graphviz.org/.")