Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#83] Move conan processing to the root cmakelists
Conan CONAN_PKG:: imported targets are not defined as global, so they should be included in the main CMakeLists.txt file to be available in the whole sourcetree, not just under 3rdParty
- Loading branch information
1 parent
0e6f065
commit e59db65
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
execute_process( | ||
COMMAND conan install --build=outdated --file "${CMAKE_SOURCE_DIR}/3rdParty/conanfile.txt" | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
) | ||
|
||
include(${CMAKE_SOURCE_DIR}/3rdParty/conanbuildinfo.cmake) | ||
conan_basic_setup() | ||
conan_define_targets() | ||
include(${CONAN_CMAKE-UTILS_ROOT}/conan.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters