boost headers not being found while compiling.
This fixed the problem for me.
I'm not that familiar with cmake, so I'm not sure if this is the best solution.
boost headers not being found while compiling.
This fixed the problem for me.
I'm not that familiar with cmake, so I'm not sure if this is the best solution.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
language/CMakeLists.txt | ||
---|---|---|
19 | I would use target_include_directories(KDevPlatformLanguage PRIVATE ${Boost_INCLUDE_DIRS}) after the add_library() call instead. That way the -I flag is only added to that target and not to all targets here |
language/CMakeLists.txt | ||
---|---|---|
19 | This makes sense. Only add these include paths to the specific target. Did this, and I did verify that it compiles with this change. |