cmake: disallow '#include "SDL.h"'
This commit is contained in:
committed by
Anonymous Maarten
parent
f2e3437311
commit
e10207e831
@@ -3218,7 +3218,6 @@ target_include_directories(SDL3_Headers
|
||||
INTERFACE
|
||||
"$<BUILD_INTERFACE:${SDL3_BINARY_DIR}/include>"
|
||||
"$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/include>"
|
||||
"$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/include/SDL3>"
|
||||
)
|
||||
if(SDL_FRAMEWORK)
|
||||
target_include_directories(SDL3_Headers
|
||||
@@ -3234,7 +3233,6 @@ else()
|
||||
target_include_directories(SDL3_Headers
|
||||
INTERFACE
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/SDL3>"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user