Merge pull request #808 from 640kb/OpenSceneGraph-3.6

las plugin: fix linking against static boost library under windows
This commit is contained in:
OpenSceneGraph git repository
2019-08-07 10:56:59 +01:00
committed by GitHub

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()