Skip to content

Instantly share code, notes, and snippets.

@wpichl
Last active October 11, 2022 14:46
Show Gist options
  • Save wpichl/b7fe5a0a31dd5effdecd4dabf7aaba8d to your computer and use it in GitHub Desktop.
Save wpichl/b7fe5a0a31dd5effdecd4dabf7aaba8d to your computer and use it in GitHub Desktop.
CLion Boost Library
CMakeLists:
set(BOOST_ROOT "C:/boost_1_70_0")
set(BOOSTROOT "C:/boost_1_70_0")
find_package(Boost 1.70.0)
set(Boost_INCLUDE_DIR C:/boost_1_70_0/)
set(Boost_LIBRARY_DIR C:/boost_1_70_0/stage/lib)
include_directories(${Boost_INCLUDE_DIR})
link_directories(${Boost_LIBRARY_DIR})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment