I have a working C project and just added some CPP stuff.
For includes I use include_directories("./src/")
but the resulting commandline that is called from the generated makefile only contains "./src/"
instead of the expected -I"./src/"
Whats going wrong with cmake here? Do I miss any difference between the C and the CPP compiler? Whe I add the -I to the commandline it just compiles as expected.