Allow Using Custom Include Path
This commit is contained in:
parent
c6f1947c1b
commit
3078b26756
@ -4,7 +4,12 @@ project(gles-compatibility-layer)
|
|||||||
# Build
|
# Build
|
||||||
add_library(gles-compatibility-layer STATIC src/state.c src/passthrough.c src/matrix.c src/draw.c)
|
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)
|
target_link_libraries(gles-compatibility-layer m)
|
||||||
target_include_directories(gles-compatibility-layer PUBLIC include)
|
|
||||||
|
# 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
|
# Shaders
|
||||||
include(cmake/util.cmake)
|
include(cmake/util.cmake)
|
||||||
|
Reference in New Issue
Block a user