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 Daniel Wendt
parent 149c04b0df
commit 0a704161fe

View File

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