CMake / Compilation on Mac
jbmouret opened this issue · comments
JB Mouret commented
Hi
to compile on a mac with the boost installed by brew, I had to change the CMakeList.txt (line 61-62) to add boost (since it is in /usr/loca/include and not /usr/include):
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} SYSTEM PRIVATE ${EIGEN3_INCLUDE_DIR} ${Boost_INCLUDE_DIR})
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} SYSTEM INTERFACE ${EIGEN3_INCLUDE_DIR} ${Boost_INCLUDE_DIR})
Guilhem Saurel commented
JB Mouret commented
Thanks. Yes, the release/1.2.1 works fine.
Guilhem Saurel commented
This is now released, sorry for the delay.