Skip to content

Commit

Permalink
Update ConanHandle.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
traversebitree authored Feb 14, 2024
1 parent 5d39a9c commit 7b807d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/ConanHandle.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include_guard(GLOBAL)
block(PROPAGATE CMAKE_PREFIX_PATH)
set(ENV{CONAN_HOME} "${CMAKE_CURRENT_SOURCE_DIR}/.conan")
set(_VENV_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/.venv")
set(_CONAN_BUILD_ROOT_PATH "$ENV{CONAN_HOME}/build")
Expand Down Expand Up @@ -36,3 +37,4 @@ execute_process(
"--settings:build=compiler.cppstd=${CMAKE_CXX_STANDARD}" COMMAND_ERROR_IS_FATAL LAST
)
list(APPEND CMAKE_PREFIX_PATH "${_CONAN_BUILD_ROOT_PATH}")
endblock()

0 comments on commit 7b807d9

Please sign in to comment.