1
0
Fork 0

Set needed boost components and link tg-construct against them

This commit is contained in:
Christian Schmitt 2012-12-11 14:10:48 +01:00
parent 257339abcb
commit 902d4d83bc
2 changed files with 2 additions and 1 deletions

View file

@ -69,7 +69,7 @@ if (MSVC AND MSVC_3RDPARTY_ROOT)
endif (MSVC AND MSVC_3RDPARTY_ROOT)
# check required dependencies
find_package(Boost REQUIRED)
find_package(Boost COMPONENTS system thread REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Threads REQUIRED)
find_package(SimGear 2.9.0 REQUIRED)

View file

@ -27,6 +27,7 @@ set_target_properties(tg-construct PROPERTIES
target_link_libraries(tg-construct
Polygon Geometry
Array landcover
${Boost_LIBRARIES}
${GDAL_LIBRARY}
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}