forked from lijiext/lammps
simplify
This commit is contained in:
parent
0547425482
commit
1b358603c2
|
@ -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)")
|
||||
|
|
Loading…
Reference in New Issue