Skip to content
Snippets Groups Projects
Commit 7e850e95 authored by Lars Bilke's avatar Lars Bilke
Browse files

New option OGS_NO_EXTERNAL_LIBS builds OGS without any external dependencies.

parent 189fd387
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,9 @@ project( OGS-6 )
INCLUDE(scripts/cmake/Functions.cmake)
INCLUDE(scripts/cmake/CMakeSetup.cmake)
INCLUDE(scripts/cmake/CompilerSetup.cmake)
INCLUDE(scripts/cmake/Find.cmake)
IF(NOT OGS_NO_EXTERNAL_LIBS)
INCLUDE(scripts/cmake/Find.cmake)
ENDIF() # NOT OGS_NO_EXTERNAL_LIBS
INCLUDE(scripts/cmake/ProjectSetup.cmake)
INCLUDE(scripts/cmake/DocumentationSetup.cmake)
......@@ -39,6 +41,8 @@ IF (OGS_BUILD_INFO)
ADD_DEFINITIONS (-DOGS_BUILD_INFO)
ENDIF (OGS_BUILD_INFO)
OPTION(OGS_NO_EXTERNAL_LIBS "Builds OGS without any external dependencies." OFF)
######################
### Subdirectories ###
######################
......@@ -57,7 +61,4 @@ IF(NOT MSVC)
ADD_SUBDIRECTORY( SimpleTests/SolverTests )
ENDIF(NOT MSVC)
# Create Configure.h
CONFIGURE_FILE (BaseLib/BuildInfo.h.in ${PROJECT_BINARY_DIR}/BaseLib/BuildInfo.h)
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