las plugin: fix linking against static boost library under windows

Signed-off-by: Daniel Wendt <daniel.wendt@linux.com>
This commit is contained in:
Daniel Wendt 2019-08-07 09:49:16 +02:00 committed by Robert Osfield
parent fd8019c886
commit 5fd35e87a2

View File

@ -101,5 +101,8 @@ if(LIBLAS_LIBRARY AND LIBLAS_INCLUDE_DIR)
if(Boost_FOUND) if(Boost_FOUND)
set(LIBLAS_LIBRARIES ${LIBLAS_LIBRARY} ) set(LIBLAS_LIBRARIES ${LIBLAS_LIBRARY} )
set(LIBLAS_FOUND "YES") set(LIBLAS_FOUND "YES")
if(WIN32)
link_directories(${Boost_LIBRARY_DIRS})
endif()
endif() endif()
endif() endif()