CMake: Only look for GLEW, SDL2 & DevIL in the fetched locations on Windows
When fetching, (fake) installing and then finding pre-compiled binary packages on windows in config mode, only look in the expected location, to avoid CMake finding an incompatible version elsewhere.
In these cases, we only want CMake to find the version we've fetched ourselves.
Ideally we should allow windows users to bring their own glew/SDL2/DevIL (and all other F2 dependencies), but IIRC a conda install was causing issues with that in the past (https://github.com/FLAMEGPU/FLAMEGPU2/issues/317)
Once merged, a PR will need to be made against FLAMEGPU/FLAMEGPU2 with the updated hash for this change to be immediately available.
CMake: Only look for GLEW, SDL2 & DevIL in the fetched locations on Windows
When fetching, (fake) installing and then finding pre-compiled binary packages on windows in config mode, only look in the expected location, to avoid CMake finding an incompatible version elsewhere.
In these cases, we only want CMake to find the version we've fetched ourselves.
Raised / tested by discussion https://github.com/FLAMEGPU/FLAMEGPU2/discussions/989
Ideally we should allow windows users to bring their own glew/SDL2/DevIL (and all other F2 dependencies), but IIRC a conda install was causing issues with that in the past (https://github.com/FLAMEGPU/FLAMEGPU2/issues/317)
Once merged, a PR will need to be made against FLAMEGPU/FLAMEGPU2 with the updated hash for this change to be immediately available.