Skip to content

Instantly share code, notes, and snippets.

@elowy01
Last active November 8, 2019 13:22
Show Gist options
  • Save elowy01/7b621bb8f1987cec61fc4b3ca4d1cf68 to your computer and use it in GitHub Desktop.
Save elowy01/7b621bb8f1987cec61fc4b3ca4d1cf68 to your computer and use it in GitHub Desktop.
1) conda install -c anaconda boost
2) Boost libraries will be placed within /path/to/installation/miniconda3/include/
3) Then,modify CMakeList for Clion to point to your Boost folder:
cmake_minimum_required(VERSION 3.15)
project(test)
set(CMAKE_CXX_STANDARD 14)
add_executable(test main.cpp gzip.h)
#Set your directories
set(BOOST_DIR /Users/ernesto/miniconda3/include/)
#Include the directories and now your cpp files will recognize your headers
include_directories(${BOOST_DIR})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment