Relative Content

Tag Archive for linuxcmakesdldevkitpro

CMake find_package for SDL not finding SDL despite SDL being installed – why?

I’m trying to build a project called OpenJazz for Wii from a Kali Linux system, but despite seemingly having required dependencies setup correctly CMake’s find_package function used to retrieve required SDL libs from the CMakeLists.txt file doesn’t find SDL. I can manually add the paths for SDL_INCLUDE_DIR and SDL_LIBRARY, but then instead and at the last step during the build process the project fails to statically link a dynamic sdl lib.