I am developing an Oculus project based on this framework: https://github.com/OculusRiftInAction/OculusRiftInAction
I added the wiiuse library from rpavlik to it. https://github.com/rpavlik/wiiuse
In both projects exists a file called "IO.h". After generating an XCode project with CMake I get an error within the OculusRiftInAction Code in File "opengl/Font.cpp". It pulls in the "IO.h" file but it's the one from the wiiuse library. I cant figure out how to pull in the "IO.h" file from the original location in OculusRiftInAction framework.
I suspect it's a general CMake or XCode question. Does anyone know this?
FIXED:
I made the wiiuse library static which somehow fixed the issue. But I dont know why it fixed it. I can still use the library, but it doesnt override the IO.h file in the main code anymore.