diff --git a/src/gen.cpp b/src/gen.cpp index 73c136f..b09fe3e 100644 --- a/src/gen.cpp +++ b/src/gen.cpp @@ -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"; } } }