cmake: fixed a typo

This commit is contained in:
Christoph Junghans 2018-06-25 06:29:24 -06:00 committed by GitHub
parent 0b1d4a1696
commit c4d0994d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ if(PKG_PYTHON)
add_definitions(-DLMP_PYTHON) add_definitions(-DLMP_PYTHON)
include_directories(${PYTHON_INCLUDE_DIR}) include_directories(${PYTHON_INCLUDE_DIR})
list(APPEND LAMMPS_LINK_LIBS ${PYTHON_LIBRARY}) list(APPEND LAMMPS_LINK_LIBS ${PYTHON_LIBRARY})
if(BUILDLIB AND BUILD_SHARED_LIBS) if(BUILD_LIB AND BUILD_SHARED_LIBS)
if(NOT PYTHON_INSTDIR) if(NOT PYTHON_INSTDIR)
execute_process(COMMAND ${PYTHON_EXECUTABLE} execute_process(COMMAND ${PYTHON_EXECUTABLE}
-c "import distutils.sysconfig as cg; print(cg.get_python_lib(1,0,prefix='${CMAKE_INSTALL_PREFIX}'))" -c "import distutils.sysconfig as cg; print(cg.get_python_lib(1,0,prefix='${CMAKE_INSTALL_PREFIX}'))"