Skip to content

Commit

Permalink
Merge pull request #863 from 32blit/patch-sdl-includes
Browse files Browse the repository at this point in the history
sdl: make include directories PUBLIC in fallback path
  • Loading branch information
Daft-Freak authored Oct 16, 2024
2 parents 06b84c4 + bbb78ae commit 51674f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 32blit-sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ else()
set(SDL2_LIBRARIES SDL2::SDL2main SDL2::SDL2-static)
else()
target_include_directories(BlitHalSDL
PRIVATE ${SDL2_INCLUDE_DIRS}
PUBLIC ${SDL2_INCLUDE_DIRS}
)
endif()

Expand All @@ -92,7 +92,7 @@ else()
find_sdl_lib(SDL2_net SDL_net.h)

target_include_directories(BlitHalSDL
PRIVATE ${SDL2_IMAGE_INCLUDE_DIR} ${SDL2_NET_INCLUDE_DIR}
PUBLIC ${SDL2_IMAGE_INCLUDE_DIR} ${SDL2_NET_INCLUDE_DIR}
)
endif()

Expand Down

0 comments on commit 51674f2

Please sign in to comment.