From 58eece1cfff9716e920087730b7dc621ae27faf6 Mon Sep 17 00:00:00 2001 From: program-- Date: Mon, 10 Jul 2023 10:02:36 -0700 Subject: [PATCH] cmake: remove test linking to NGen::core; make includes public --- src/geopackage/CMakeLists.txt | 2 +- test/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/geopackage/CMakeLists.txt b/src/geopackage/CMakeLists.txt index 5a61c54658..97f25cdd98 100644 --- a/src/geopackage/CMakeLists.txt +++ b/src/geopackage/CMakeLists.txt @@ -21,5 +21,5 @@ add_library(geopackage STATIC geometry.cpp ) add_library(NGen::geopackage ALIAS geopackage) target_include_directories(geopackage PUBLIC ${PROJECT_SOURCE_DIR}/include/geopackage) -target_include_directories(geopackage PRIVATE ${PROJECT_SOURCE_DIR}/include/utilities) +target_include_directories(geopackage PUBLIC ${PROJECT_SOURCE_DIR}/include/utilities) target_link_libraries(geopackage PUBLIC NGen::geojson Boost::boost sqlite3) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d5bc656388..a7934beb44 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -92,7 +92,6 @@ add_test(test_geopackage geopackage/WKB_Test.cpp geopackage/SQLite_Test.cpp geopackage/GeoPackage_Test.cpp - NGen::core # needed for FileChecker.h NGen::geopackage) endif()