Skip to content

Commit

Permalink
Remove ability to do '#include "SDL_image.h"'
Browse files Browse the repository at this point in the history
This reverts commit 0556b71.
  • Loading branch information
madebr committed Sep 29, 2023
1 parent 0556b71 commit cb706c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ endif()
target_include_directories(${sdl3_image_target_name}
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/SDL3_image>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/SDL3_image>"
)
target_compile_definitions(${sdl3_image_target_name} PRIVATE
BUILD_SDL
Expand Down
2 changes: 1 addition & 1 deletion cmake/sdl3-image.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Requires: sdl3 >= @SDL_REQUIRED_VERSION@
Libs: -L${libdir} -lSDL3_image
Requires.private: @PC_REQUIRES@
Libs.private: @PC_LIBS@
Cflags: -I${includedir} -I${includedir}/SDL3_image
Cflags: -I${includedir}

0 comments on commit cb706c8

Please sign in to comment.