Unverified Commit 347f805e authored by Artur Wojcik's avatar Artur Wojcik Committed by GitHub
Browse files

use find_package() for SQLite3 (#2384)

parent cbee4b75
...@@ -261,9 +261,8 @@ find_package(nlohmann_json 3.8.0 REQUIRED) ...@@ -261,9 +261,8 @@ find_package(nlohmann_json 3.8.0 REQUIRED)
target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json) target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json)
migraphx_generate_export_header(migraphx) migraphx_generate_export_header(migraphx)
find_package(PkgConfig) find_package(SQLite3 REQUIRED)
pkg_check_modules(SQLITE3 REQUIRED IMPORTED_TARGET sqlite3) target_link_libraries(migraphx PRIVATE SQLite::SQLite3)
target_link_libraries(migraphx PRIVATE PkgConfig::SQLITE3)
find_package(msgpackc-cxx QUIET) find_package(msgpackc-cxx QUIET)
if(NOT msgpackc-cxx_FOUND) if(NOT msgpackc-cxx_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment