-
Notifications
You must be signed in to change notification settings - Fork 17
CMake files do not automatically download the libraries when ran #16
Copy link
Copy link
Open
Description
Hi,
The files FindSol.cmake and FindRaylib.cmake do not automatically download the libraries on OS X 10.15.1.
If you change the flag QUIET to VERBOSE it fails but then carries on to download and building steps:
find_package(sol 3.0 VERBOSE)
if (NOT sol_FOUND)
include(FetchContent)
FetchContent_Declare(
sol
GIT_REPOSITORY https://github.com/ThePhD/sol2.git
GIT_TAG 6d4a5d3ef66d605c54093edb673c14e373969a08
)
FetchContent_GetProperties(sol)
if (NOT sol_POPULATED) # Have we downloaded sol2 yet?
set(FETCHCONTENT_QUIET NO)
FetchContent_Populate(sol)
add_subdirectory(${sol_SOURCE_DIR} ${sol_BINARY_DIR})
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${sol_SOURCE_DIR}/cmake" "${sol_SOURCE_DIR}/cmake/Modules")
endif()
endif()
The verbose flag is not valid so it carries on, i installed raylib view brew but it didn't find the libraries in the first place.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels