diff --git a/CMakeLists.txt b/CMakeLists.txt index 36fd6232..209c1ae4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,9 @@ if(ENABLE_GDAL) find_package(GDAL) # build OGRDecode endif(ENABLE_GDAL) +find_library(POCO_FOUNDATION PocoFoundation REQUIRED) +find_library(POCO_NET PocoNet REQUIRED) + check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(windows.h HAVE_WINDOWS_H) diff --git a/src/Airports/GenAirports850/CMakeLists.txt b/src/Airports/GenAirports850/CMakeLists.txt index f19daee7..d5a38cd5 100644 --- a/src/Airports/GenAirports850/CMakeLists.txt +++ b/src/Airports/GenAirports850/CMakeLists.txt @@ -25,8 +25,8 @@ target_link_libraries(genapts850 Polygon Geometry Array Optimize Output poly2tri TriangleJRS - PocoFoundation - PocoNet + ${POCO_FOUNDATION} + ${POCO_NET} ${GDAL_LIBRARY} ${SIMGEAR_CORE_LIBRARIES} ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}