Commit 7090dc1d authored by Wieland Morgenstern's avatar Wieland Morgenstern

conan-cmake fix if

parent 582a8852
......@@ -116,13 +116,20 @@ if(WIN32)
message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
file(DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/v0.14/conan.cmake"
"${CMAKE_BINARY_DIR}/conan.cmake")
endif()
include(${CMAKE_BINARY_DIR}/conan.cmake)
conan_add_remote(NAME bincrafters URL https://api.bintray.com/conan/bincrafters/public-conan)
conan_cmake_run(REQUIRES libpng/1.6.37@bincrafters/stable
glfw/3.3@bincrafters/stable
)
conan_add_remote(NAME bincrafters URL https://api.bintray.com/conan/bincrafters/public-conan)
conan_cmake_run(REQUIRES
libpng/1.6.37@bincrafters/stable
glew/2.1.0@bincrafters/stable
glfw/3.3@bincrafters/stable
#ceres-solver/1.12.0@jmdaly/testing
BUILD missing
)
message(STATUS "CONAN_LIBS: ${CONAN_LIBS}")
endif()
endif()
endif(WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment