CMake compilation: exv_conf.h at the wrong place
|Status:||Closed||Start date:||27 Apr 2012|
|Assignee:||Robin Mills||% Done:|
I compiled the code with CMake, and when I include "exiv2.hpp" in my source file I got an error message that the line "#include "exv_conf.h"" in types.hpp failed.
I looked at it and could find the cmake-generated exv_conf.h one folder ahead of src (types.hpp is in src and exv_conf.h is at the same level as src)
I do not know if this is an actual bug or if somehow I did a mistake somewhere in my Cmake configuration.
#1 Updated by Sebastien Gilles about 6 years ago
Never mind this one: it was because I used my own CMakeLists in another folder to call yours. Calling yours directly doesn't yield the problem; I'll have to figure out which variable is not correctly defined in the call (I'm pretty novice with Cmake)
Sorry for the inconvenience; however issue #822 remains fully relevant