blob: 64ab53ac83861d2065d411640f4b73f5a0108914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1265,13 +1265,13 @@ target_link_libraries(${PACKAGE_NAME} PRIVATE ocpn::sqlite)
add_subdirectory("libs/SQLiteCpp")
target_link_libraries(${PACKAGE_NAME} PRIVATE ocpn::sqlite_cpp)
-find_package(Shapelib)
-if (SHAPELIB_FOUND)
- message(STATUS "Using system shapelib")
-else ()
- message(STATUS "Using bundled shapelib")
- add_subdirectory("libs/shapelib")
-endif ()
+#find_package(Shapelib)
+#if (SHAPELIB_FOUND)
+# message(STATUS "Using system shapelib")
+#else ()
+message(STATUS "Using bundled shapelib")
+add_subdirectory("libs/shapelib")
+#endif ()
target_link_libraries(${PACKAGE_NAME} PRIVATE shapelib::shapelib)
add_subdirectory("libs/ShapefileCpp")
|