diff --git a/CMakeLists.txt b/CMakeLists.txt index 31061b51e10f21433144c98aebaa47d75c2e2ba6..08dae53b6abe21e9aaa5341860a308b5c1292b83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,6 +101,10 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/ThirdParty ) INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/ThirdParty/quickcheck ) INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR}/ThirdParty/zlib ) +IF(OGS_USE_LIS) + ADD_DEFINITIONS(-DUSE_LIS) +ENDIF() + ADD_SUBDIRECTORY( BaseLib ) # TODO This is a hack but we have to make sure that Boost is built first ADD_DEPENDENCIES(BaseLib Boost)