Open gorans opened 8 months ago
When doing cmake .. FindSDL2.cmake properly detects SDL version: -- SDL version : 2.x
but include directory is wrong: -- SDL2_INCLUDE_DIR = /Library/Frameworks/SDL.framework/Headers
should be -- SDL2_INCLUDE_DIR = /Library/Frameworks/SDL2.framework/Headers
Compiles if error is manually corrected in CMakeCache.txt
Also, OpenGL is not working/not updating screen. MacOS Monterey 12.7
Best regards, Goran
I've found FindSDL2.cmake in the internets. Something must be wrong inside it, but i didn't found wrong lines...
When doing cmake .. FindSDL2.cmake properly detects SDL version: -- SDL version : 2.x
but include directory is wrong: -- SDL2_INCLUDE_DIR = /Library/Frameworks/SDL.framework/Headers
should be -- SDL2_INCLUDE_DIR = /Library/Frameworks/SDL2.framework/Headers
Compiles if error is manually corrected in CMakeCache.txt
Also, OpenGL is not working/not updating screen. MacOS Monterey 12.7
Best regards, Goran