Skip to content

Commit

Permalink
cmake: remove test linking to NGen::core; make includes public
Browse files Browse the repository at this point in the history
  • Loading branch information
program-- authored and mattw-nws committed Jul 18, 2023
1 parent 6882ba1 commit 58eece1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/geopackage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 0 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 58eece1

Please sign in to comment.