Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
sdlpop
sdlpop-fix-sdl2-includes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdlpop-fix-sdl2-includes.patch of Package sdlpop
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 28d73c7..e81e81b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,6 +16,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${SDLPoP_SOURCE_DIR}/..") #set(SDL2 "/usr/local/Cellar/sdl2/2.0.5") +find_package(SDL2 REQUIRED) +include_directories(${SDL2_INCLUDE_DIRS}) + + if (NOT(WIN32) AND (DEFINED SDL2)) include_directories(${SDL2}/include) link_directories(${SDL2}/lib)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor