From 0a704161fe776738f22d9df5b9e71c6c96fd895f Mon Sep 17 00:00:00 2001 From: Daniel Wendt Date: Wed, 7 Aug 2019 09:49:16 +0200 Subject: [PATCH] las plugin: fix linking against static boost library under windows Signed-off-by: Daniel Wendt --- CMakeModules/FindLIBLAS.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeModules/FindLIBLAS.cmake b/CMakeModules/FindLIBLAS.cmake index 1c9a7ee01..0ce247a75 100644 --- a/CMakeModules/FindLIBLAS.cmake +++ b/CMakeModules/FindLIBLAS.cmake @@ -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()