cmake: move include up

This commit is contained in:
Christoph Junghans 2020-03-22 21:29:15 -06:00
parent 591212af3a
commit a42f7163d2
1 changed files with 1 additions and 1 deletions

View File

@ -105,6 +105,7 @@ endif()
option(BUILD_TOOLS "Build and install LAMMPS tools (msi2lmp, binary2txt, chain)" OFF)
include(GNUInstallDirs)
file(GLOB ALL_SOURCES ${LAMMPS_SOURCE_DIR}/[^.]*.cpp)
if(BUILD_LIB)
file(GLOB MAIN_SOURCES ${LAMMPS_SOURCE_DIR}/main.cpp)
@ -126,7 +127,6 @@ else()
endif()
option(CMAKE_VERBOSE_MAKEFILE "Generate verbose Makefiles" OFF)
include(GNUInstallDirs)
set(LAMMPS_API_DEFINES)