FetchContent installation #966
Unanswered
HealthyPear
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am following the instructions from the documentation at the Using Fetchcontent section.
I created a
CLI11.cmake
file within acmake
subdirectory within my top-level directory containing,then from my top-level CMakeLists.txt I include it with
include(cmake/CLI11.cmake)
.My project is made of an executable and a library, the executable is the only one using CLI11. It lives in a
cli
subdirectory containing the following CMakeLists.txt (also included by the top-level one), I am doing this as per instructionsand I get this error during the configuration step,
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions