Error when using Visual Studio CMake support on WIndows
I receive the error Could NOT find SDL2_image (missing: SDL2_IMAGE_LIBRARIES SDL2_IMAGE_INCLUDE_DIRS)
when trying to generate this with windows. I have these set however set(SDL2_PATH "C:/ProgramFilesPublic/SDL2") set(SDL2_IMAGE_PATH "C:/ProgramFilesPublic/SDL2_image") set(SDL2_IMAGE_LIBRARIES "C:/ProgramFilesPublic/SDL2_image/lib") set(SDL2_IMAGE_INCLUDE_DIRS "C:/ProgramFilesPublic/SDL2_image/include")
as these and the uncommenting of the fining and inclusion of sdl2 _image are only modifications to the project at all. Is there something I am doing wrong? SDL2 can be found fine.
Edited by Nosh (97) Ware