Allow Using Custom Include Path
This commit is contained in:
parent
c6f1947c1b
commit
3078b26756
@ -4,7 +4,12 @@ project(gles-compatibility-layer)
|
||||
# Build
|
||||
add_library(gles-compatibility-layer STATIC src/state.c src/passthrough.c src/matrix.c src/draw.c)
|
||||
target_link_libraries(gles-compatibility-layer m)
|
||||
|
||||
# Include Path
|
||||
option(GLES_COMPATIBILITY_LAYER_USE_DEFAULT_INCLUDE_PATH "Use Default Include Path" TRUE)
|
||||
if(GLES_COMPATIBILITY_LAYER_USE_DEFAULT_INCLUDE_PATH)
|
||||
target_include_directories(gles-compatibility-layer PUBLIC include)
|
||||
endif()
|
||||
|
||||
# Shaders
|
||||
include(cmake/util.cmake)
|
||||
|
Loading…
Reference in New Issue
Block a user