cpm-cmake / CPM.cmake

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OVERRIDE_FIND_PACKAGE doesn't work

patstew opened this issue · comments

I think because CPM avoids calling FetchContent_MakeAvailable(?), the OVERRIDE_FIND_PACKAGE argument to FetchContent_Declare doesn't work. The redirect files don't get created.

I found this issue after looking into the same thing. @TheLartians , could this get attention?

Unfortunately I currently don't have the time to look into this, but would be very happy to review a PR that suggests a fix.