-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
"Fetch Content" doesn't work because of catch2-src #1107
Comments
It seems to be a dangling submodule path that has no entry in @zafirovicmilan2 A quick fix for you is pass the FetchContent_Declare(
sqlite_orm
GIT_REPOSITORY https://github.com/fnc12/sqlite_orm.git
GIT_TAG v1.8
GIT_SUBMODULES ""
) |
Addressed issue fnc12#1107
@zafirovicmilan2 Does PR #1121 (into dev) or the v1.8.1 release solve the problem? |
@trueqbit I'm using v1.8.1, it does solve the issue (at least for me). I'm using the following code in my CMakeLists.txt: FetchContent_Declare(
sqlite_orm
GIT_REPOSITORY https://github.com/fnc12/sqlite_orm.git
GIT_TAG v1.8.1
GIT_SHALLOW true
) |
I tried to open "fetch_content" (opened CMakeLists.txt from "fetch_content") and cmake configuration failed because it cannot fetch "catch2-src":
cmake 3.25.1
g++/gcc 11.3.0
The text was updated successfully, but these errors were encountered: