From 08ffec3cafc0dd53d7d1af59f556d1a0f5097b4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Szil=C3=A1rd=20P=C3=A1ll?= Date: Fri, 9 Oct 2020 18:32:31 +0200 Subject: [PATCH] Fix NBLIB CMake error message The recommended CMake syntax was missing the 'D' prefix. --- api/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/CMakeLists.txt b/api/CMakeLists.txt index 557e6bb44e..80375188fa 100644 --- a/api/CMakeLists.txt +++ b/api/CMakeLists.txt @@ -59,7 +59,7 @@ endif() option(GMX_INSTALL_NBLIB_API "Install nblib headers" ${_NBLIB_DEFAULT}) if (GMX_INSTALL_NBLIB_API) if(NOT ${BUILD_SHARED_LIBS}) - message(FATAL_ERROR "NBLIB requires position-independent code. Set -GMX_INSTALL_NBLIB_API=OFF or -DBUILD_SHARED_LIBS=ON.") + message(FATAL_ERROR "NBLIB requires position-independent code. Set -DGMX_INSTALL_NBLIB_API=OFF or -DBUILD_SHARED_LIBS=ON.") else() add_subdirectory(nblib) endif() -- 2.22.0