I wanted to look at a codebase of OSRM in CLion, but code insight feature don't work. I thought only adding the file in cmake is required for CLion to provide the insights.
the header files root directory is also included
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include/)