FLAMEGPU / FLAMEGPU2

FLAME GPU 2 is a GPU accelerated agent based modelling framework for CUDA C++ and Python
https://flamegpu.com
MIT License
106 stars 22 forks source link

CMake: Ensure fetched version of pacakges are found #1249

Open ptheywood opened 1 week ago

ptheywood commented 1 week ago

@mondus encountered an issue where CUDA 12.3 and 11.7 include paths were being added to compilation commands on windows

We could probbaly make our CMake more specific when fetching and finding packages, by ensuring more default options are disabled, and requiring the exact version which has been fetched.

Hints should be used rather than PATHS too if being pedantic (for paths based on other cmake vars, not hard coded locations).


@mondus has modified his env vars so we no longer have a system to test any fixes for this.

Related to #317

Probably worth considering when fixing #1223 as the same files will be touched / processes changed.

Thrust/cub specifically migth not be worth fixing, but rahter double checking CMake in #1155