cmake: add SDL3 to include path

This reverts parts of 9f2ca87
This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2022-12-29 09:01:56 -08:00
1 parent 88630b85f5
commit 7150d6b05a
4 files changed
+11 -5

No files matched your search

+1 -1
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}")