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

Run conan install in build dir.

parent 81c8e319
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,13 @@ set(OGS_CPU_ARCHITECTURE "native" CACHE STRING "Processor architecture, defaults
option(OGS_BUILD_TESTS "Should the test executables be built?" ON)
### CMake includes ###
include(conanbuildinfo.cmake)
if(EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
elseif(EXISTS ${CMAKE_SOURCE_DIR}/conanbuildinfo.cmake)
include(${CMAKE_SOURCE_DIR}/conanbuildinfo.cmake)
else()
message(FATAL_ERROR "External dependencies not setup. Run conan install!")
endif()
conan_basic_setup()
include(scripts/cmake/CheckTypeSizes.cmake)
......
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