Update gen.cpp

self-hosting
Mohammed Alyousef 4 years ago committed by GitHub
parent 2fe58ca249
commit 2636acbdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -123,9 +123,9 @@ int generate_cmake(const char *path) {
for (const auto &dep : cmake.packages) {
ss << "find_package(" << dep.first;
if (dep.second != "*") {
ss << " " << dep.second << " CONFIG REQUIRED)\n";
ss << " " << dep.second << " REQUIRED)\n";
} else {
ss << " CONFIG REQUIRED)\n";
ss << " REQUIRED)\n";
}
}
}

Loading…
Cancel
Save