cmake.patch 525 B

123456789101112131415
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index aea895ea..87e8deec 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -98,8 +98,8 @@ if (SQLGEN_SQLITE3)
  6. endif()
  7. target_link_libraries(sqlgen PUBLIC unofficial::sqlite3::sqlite3)
  8. else()
  9. - if (NOT TARGET unofficial-sqlite3)
  10. - find_package(SQLite3 CONFIG REQUIRED)
  11. + if (NOT TARGET SQLite3)
  12. + find_package(SQLite3 REQUIRED)
  13. endif()
  14. target_link_libraries(sqlgen PUBLIC SQLite::SQLite3)
  15. endif()