I\'m a complete newb with C++ and I\'ve been running into one headache after another, so forgive me if this is incredibly simple and I\'m ju
Add a target_include_directories(CMakeProject2 PRIVATE .) into your CMakeList.txt.
target_include_directories(CMakeProject2 PRIVATE .)
CMakeList.txt
The . is the relative path of boost/lambda/lambda.hpp from CMakeLists.txt
boost/lambda/lambda.hpp
CMakeLists.txt
And you should not add any .hpp file to the source list.
.hpp