From c4d0994d5e60f813c7eba71a02f0d80ce16cdca4 Mon Sep 17 00:00:00 2001
From: Christoph Junghans <junghans@lanl.gov>
Date: Mon, 25 Jun 2018 06:29:24 -0600
Subject: [PATCH] cmake: fixed a typo

---
 cmake/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index a434b982e4..0074ba9cdb 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -229,7 +229,7 @@ if(PKG_PYTHON)
   add_definitions(-DLMP_PYTHON)
   include_directories(${PYTHON_INCLUDE_DIR})
   list(APPEND LAMMPS_LINK_LIBS ${PYTHON_LIBRARY})
-  if(BUILDLIB AND BUILD_SHARED_LIBS)
+  if(BUILD_LIB AND BUILD_SHARED_LIBS)
     if(NOT PYTHON_INSTDIR)
       execute_process(COMMAND ${PYTHON_EXECUTABLE}
         -c "import distutils.sysconfig as cg; print(cg.get_python_lib(1,0,prefix='${CMAKE_INSTALL_PREFIX}'))"
-- 
GitLab