this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixing up finding SDL for appveyor.

+11 -3
+2 -2
.appveyor.yml
··· 23 23 - ps: Start-FileDownload 'https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip' 'c:/projects/libs/SDL.zip' 24 24 25 25 # Extract it, put it in the right place, and rename it. 26 - - cd c:\projects\libs && 7z x SDL.zip && ren SDL2-2.0.5 SDL && cd c:\projects\SDL_gpu 26 + - cd c:\projects\libs && 7z x SDL.zip && ren SDL2-2.0.5 SDL2 && cd c:\projects\SDL_gpu 27 27 28 28 29 29 platform: ··· 41 41 before_build: 42 42 - echo Running cmake... 43 43 - cd c:\projects\SDL_gpu 44 - - cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=%P% -DCMAKE_PREFIX_PATH=c:\projects\libs\SDL -DSDL_gpu_BUILD_DEMOS=ON -DSDL_gpu_BUILD_TESTS=ON -DSDL_gpu_BUILD_TOOLS=ON -DSDL_gpu_BUILD_SHARED=ON -DSDL_gpu_BUILD_STATIC=ON 44 + - cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=c:\projects\libs\SDL2 -DSDL_gpu_BUILD_DEMOS=ON -DSDL_gpu_BUILD_TESTS=ON -DSDL_gpu_BUILD_TOOLS=ON -DSDL_gpu_BUILD_SHARED=ON -DSDL_gpu_BUILD_STATIC=ON 45 45 46 46 # scripts to run after build 47 47 after_build:
+9 -1
scripts/FindSDL2.cmake
··· 26 26 DOC "The SDL include directory" 27 27 ) 28 28 29 + if(CMAKE_SIZEOF_VOID_P EQUAL 4) 30 + set(SDL2_LIBRARY_PATH_SUFFIXES lib/x86) 31 + else() 32 + set(SDL2_LIBRARY_PATH_SUFFIXES lib/x64) 33 + endif() 34 + 29 35 find_library(SDL2_LIBRARY NAMES SDL2 sdl2 sdl2 sdl-2.0 36 + PATH_SUFFIXES ${SDL2_LIBRARY_PATH_SUFFIXES} 30 37 DOC "The SDL library" 31 38 ) 32 39 33 40 if(WIN32) 34 - find_library(SDL2MAIN_LIBRARY NAMES SDL2main sdl2main 41 + find_library(SDL2MAIN_LIBRARY NAMES SDL2main sdl2main 42 + PATH_SUFFIXES ${SDL2_LIBRARY_PATH_SUFFIXES} 35 43 DOC "The SDLmain library needed on some platforms when builing an application (opposed to a library)" 36 44 ) 37 45 else()