1
0
Fork 0

Add POCO dep to the cmake files

This commit is contained in:
Christian Schmitt 2012-06-17 10:51:58 +02:00
parent 5da5dc29be
commit c31247f51a
2 changed files with 5 additions and 2 deletions

View file

@ -82,6 +82,9 @@ if(ENABLE_GDAL)
find_package(GDAL) # build OGRDecode find_package(GDAL) # build OGRDecode
endif(ENABLE_GDAL) 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(unistd.h HAVE_UNISTD_H)
check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(windows.h HAVE_WINDOWS_H) check_include_file(windows.h HAVE_WINDOWS_H)

View file

@ -25,8 +25,8 @@ target_link_libraries(genapts850
Polygon Geometry Polygon Geometry
Array Optimize Output poly2tri Array Optimize Output poly2tri
TriangleJRS TriangleJRS
PocoFoundation ${POCO_FOUNDATION}
PocoNet ${POCO_NET}
${GDAL_LIBRARY} ${GDAL_LIBRARY}
${SIMGEAR_CORE_LIBRARIES} ${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES} ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}