Skip to content
Snippets Groups Projects
Unverified Commit c4d0994d authored by Christoph Junghans's avatar Christoph Junghans Committed by GitHub
Browse files

cmake: fixed a typo

parent 0b1d4a16
No related branches found
No related tags found
No related merge requests found
......@@ -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}'))"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment