Skip to content

Cannot success build using Cmake Fecth_Content #230

Description

@18521344596

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions