This commit is contained in:
Axel Kohlmeyer 2020-10-20 18:52:53 -04:00
parent 0547425482
commit 1b358603c2
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 2 deletions

View File

@ -383,8 +383,7 @@ endforeach()
option(WITH_SWIG "Build scripting language wrappers with SWIG" OFF)
if(WITH_SWIG)
get_filename_component(LAMMPS_SWIG_DIR ${LAMMPS_SOURCE_DIR}/../tools/swig ABSOLUTE)
get_filename_component(LAMMPS_SWIG_BIN ${CMAKE_BINARY_DIR}/swig ABSOLUTE)
add_subdirectory(${LAMMPS_SWIG_DIR} ${LAMMPS_SWIG_BIN})
add_subdirectory(${LAMMPS_SWIG_DIR} swig)
endif()
set(CMAKE_TUNE_FLAGS "${CMAKE_TUNE_DEFAULT}" CACHE STRING "Compiler and machine specific optimization flags (compilation only)")