PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
562 stars 76 forks source link

replace "SDL2::SDL2" with "${SDL2_LIBRARIES}" in all 15 CMakeLists.txt files #48

Open beaumanvienna opened 1 year ago

theWatchmen commented 1 year ago

I think this issue might come down to the CMake and/or SDL version installed on your system. Which versions and OS are you using?

bkolligs commented 1 year ago

I had this problem on Ubuntu 20.04 but it doesn’t seem to be an issue on Ubuntu 22.04. However I believe @beaumanvienna uses Zorin which is based off of Ubuntu.

beaumanvienna commented 1 year ago

yep, I use Zorin, which is based on Ubuntu 20.04, cmake version 3.16.3

If you have a newer cmake version, can you try what I suggested?

theWatchmen commented 1 year ago

I haven't forgotten about this, I simply haven't had a chance to test it yet :) I should be able to do so in the next few days.