Skip to content

Instantly share code, notes, and snippets.

@dakcarto
Created February 4, 2014 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dakcarto/8808929 to your computer and use it in GitHub Desktop.
Save dakcarto/8808929 to your computer and use it in GitHub Desktop.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c705ab..1c1bdfb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -233,6 +233,7 @@ endif(WIN32)
set(PDAL_EMBED_BOOST TRUE CACHE BOOL "use embedded rather than system boost")
if (NOT PDAL_EMBED_BOOST)
+ set(BOOST_LINKAGE "LINK_PUBLIC;general")
find_package(Boost 1.53 COMPONENTS program_options thread iostreams filesystem system unit_test_framework random)
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment