FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: use build folder for conan artifacts · expresscpp/expresscpp@e74c356 · GitHub

Commit e74c356

Browse files
committed
fix: use build folder for conan artifacts
1 parent 5ce9068 commit e74c356

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
120120
if(EXPRESSCPP_USE_CONAN_DEPENDENCIES)
121121
# Run conan install from within CMake
122122
execute_process(
123-
COMMAND conan install ${CMAKE_SOURCE_DIR} --build=missing --install-folder=${CMAKE_BINARY_DIR}/conan # Specify the install folder
123+
COMMAND conan install ${CMAKE_SOURCE_DIR} --build=missing -of=${CMAKE_BINARY_DIR}/conan # Specify the install folder
124124
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
125125
RESULT_VARIABLE CONAN_RESULT
126126
)
127127
message(STATUS "using conan dependencies")
128128
# Include the Conan toolchain file generated by conan
129-
include(${CMAKE_SOURCE_DIR}/conan_toolchain.cmake)
129+
include(${CMAKE_BINARY_DIR}/conan/conan_toolchain.cmake)
130130
else()
131131
message(STATUS "EXPRESSCPP: not calling conan from cmake")
132132
endif()

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL