• Show log

    Commit

  • Hash : 8aaef4b9
    Author : Sam Lantinga
    Date : 2018-09-24T08:41:59

    Fixed bug 3166 - It would be nice, if SDL would support including SDL project as a subdirectory into another CMake project
    
    Wayde Reitsma
    
    After attempting to use SDL2 in the way described in this bug, I found the main issue was the includes not being added to the compiler command.
    
    I found the issue was that the target_include_directories commands for the SDL2, SDL2-static and SDL2main targets only sets the public includes for installations using the INSTALL_INTERFACE generator expression.
    
    I have written a patch to CMakeLists.txt that fixes this issue by adding another item to the target_include_directories commands, utilizing the BUILD_INTERFACE generator expression to correctly add the include directory during builds.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags