Editing custom path with OpenCV framework with CMake to create XCODE project in iOS
I have a cross platform build system using CMake and I have an OpenCV iOS dependency.
Setting it ${OpenCV_DIR}
manually, my project compiles and runs correctly if and only if I manually set every time I generate an XCODE project variable Project > Build Settings > Framework Search Paths
with ${OpenCV_DIR}
.
How can I set this variable using CMake directly?
+3
source to share