Fix underlinking (newer binutils exhibits it)
This commit is contained in:
parent
d71aacde76
commit
7d13ac32b0
7 changed files with 13 additions and 0 deletions
|
@ -28,6 +28,8 @@ target_link_libraries(genapts850
|
|||
terragear
|
||||
Array
|
||||
${GDAL_LIBRARY}
|
||||
${ZLIB_LIBRARY}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
||||
${RT_LIBRARY})
|
||||
|
|
|
@ -31,6 +31,7 @@ target_link_libraries(tg-construct
|
|||
Array landcover
|
||||
${Boost_LIBRARIES}
|
||||
${GDAL_LIBRARY}
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
||||
)
|
||||
|
|
|
@ -7,6 +7,7 @@ add_executable(test_array testarray.cxx)
|
|||
|
||||
target_link_libraries(test_array
|
||||
Array
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ add_executable(demchop demchop.cxx)
|
|||
|
||||
target_link_libraries(demchop
|
||||
DEM
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
@ -12,6 +13,7 @@ add_executable(hgtchop hgtchop.cxx)
|
|||
|
||||
target_link_libraries(hgtchop
|
||||
HGT
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
@ -24,6 +26,7 @@ endif(MSVC AND CMAKE_CL_64)
|
|||
add_executable(srtmchop srtmchop.cxx)
|
||||
target_link_libraries(srtmchop
|
||||
HGT
|
||||
${ZLIB_LIBRARY}
|
||||
${TIFF_LIBRARIES}
|
||||
${SRTMCHOP_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
|
@ -35,6 +38,7 @@ endif(TIFF_FOUND)
|
|||
add_executable(fillvoids fillvoids.cxx)
|
||||
target_link_libraries(fillvoids
|
||||
Array
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
@ -43,6 +47,7 @@ install(TARGETS fillvoids RUNTIME DESTINATION bin)
|
|||
add_executable(testassem testassem.cxx)
|
||||
target_link_libraries(testassem
|
||||
Array
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ add_executable(gdalchop gdalchop.cxx)
|
|||
|
||||
target_link_libraries(gdalchop
|
||||
terragear ${GDAL_LIBRARY}
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
||||
)
|
||||
|
|
|
@ -4,6 +4,8 @@ add_executable(ogr-decode ogr-decode.cxx)
|
|||
target_link_libraries(ogr-decode
|
||||
${GDAL_LIBRARY}
|
||||
terragear
|
||||
${ZLIB_LIBRARY}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
||||
)
|
||||
|
|
|
@ -3,6 +3,7 @@ add_executable(terrafit terrafit.cc)
|
|||
|
||||
target_link_libraries(terrafit
|
||||
Array Terra
|
||||
${ZLIB_LIBRARY}
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
||||
|
||||
|
|
Loading…
Reference in a new issue