Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot success build using Cmake Fecth_Content #230

Open
18521344596 opened this issue Apr 11, 2023 · 1 comment
Open

Cannot success build using Cmake Fecth_Content #230

18521344596 opened this issue Apr 11, 2023 · 1 comment

Comments

@18521344596
Copy link

My libconfig.cmake is as belows:

message("include libconfig")

# Set build options
set(BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)

include(FetchContent)
FetchContent_Declare(
  
  libconfig
  GIT_REPOSITORY https://github.com/hyperrealm/libconfig.git  
)

FetchContent_MakeAvailable(libconfig)

It seems downloads the src successfully but cannot build successfully unfortunately.
How to solve this issue?

@tkrypton
Copy link

Hard to say without seeing the error message...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants