cmake: add SDL3 to include path

This reverts parts of 9f2ca87
This commit is contained in:
Anonymous Maarten
2022-12-29 10:05:24 +01:00
committed by Sam Lantinga
parent 88630b85f5
commit 7150d6b05a
4 changed files with 11 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ endif()
set_and_check(SDL3_PREFIX "${CMAKE_CURRENT_LIST_DIR}/..")
set_and_check(SDL3_EXEC_PREFIX "${CMAKE_CURRENT_LIST_DIR}/..")
set_and_check(SDL3_INCLUDE_DIR "${SDL3_PREFIX}/include")
set(SDL3_INCLUDE_DIRS "${SDL3_INCLUDE_DIR}")
set(SDL3_INCLUDE_DIRS "${SDL3_INCLUDE_DIR};${SDL3_INCLUDE_DIR}/SDL3")
set_and_check(SDL3_BINDIR "${SDL3_PREFIX}/lib/${_sdl_arch_subdir}")
set_and_check(SDL3_LIBDIR "${SDL3_PREFIX}/lib/${_sdl_arch_subdir}")