IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ff9688fc authored by ralfulrich's avatar ralfulrich
Browse files

add conan.cmake directly

parent 5c624775
No related branches found
No related tags found
No related merge requests found
...@@ -115,19 +115,7 @@ endif (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) ...@@ -115,19 +115,7 @@ endif (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
#+++++++++++++++++++++++++++++ #+++++++++++++++++++++++++++++
# Setup external dependencies. # Setup external dependencies.
# #
# the version of the cmake-conan project we use for build. include (conan.cmake)
set (CMAKE_CONAN_VERSION "v0.13")
#
# download the cmake-conan integration
if (NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
message (STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
file (DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/${CMAKE_CONAN_VERSION}/conan.cmake"
"${CMAKE_BINARY_DIR}/conan.cmake"
TLS_VERIFY ON)
endif ()
#
# add the cmake-conan integration
include (${CMAKE_BINARY_DIR}/conan.cmake)
# #
# download and build all dependencies # download and build all dependencies
conan_cmake_run (CONANFILE conanfile.txt conan_cmake_run (CONANFILE conanfile.txt
......
This diff is collapsed.
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