I have something like this in CMakeLists.txt (by default) and it works with headers in the same directory as the code:
Code:
# Add the standard include files to the buildtarget_include_directories( ${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR})Statistics: Posted by gmx — Sun Apr 13, 2025 1:04 am