Skip to content

Commit 52090da

Browse files
committed
CMake install dependencies
Fixes daniele77#117
1 parent 30eb9ac commit 52090da

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,7 @@ simplelocalsession
6666
doc/doxy/html
6767

6868
# Test files
69-
cli_test_history
69+
cli_test_history
70+
71+
# Other
72+
*.sh

cliConfig.cmake.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
include(CMakeFindDependencyMacro)
44

5-
# find_dependency(Boost REQUIRED COMPONENTS system)
5+
if (CLI_UseBoostAsio)
6+
find_dependency(Boost REQUIRED COMPONENTS system)
7+
endif()
8+
69
find_dependency(Threads REQUIRED)
710

811
if(NOT TARGET cli::cli)

0 commit comments

Comments
 (0)