Fixes for CMake USE_PREBUILT_SHADERS option
This commit is contained in:
Родитель
dc9037e13b
Коммит
3a19543b7c
|
@ -179,6 +179,8 @@ if (NOT COMPILED_SHADERS)
|
||||||
endif()
|
endif()
|
||||||
set(COMPILED_SHADERS ${CMAKE_CURRENT_BINARY_DIR}/Shaders/Compiled)
|
set(COMPILED_SHADERS ${CMAKE_CURRENT_BINARY_DIR}/Shaders/Compiled)
|
||||||
file(MAKE_DIRECTORY ${COMPILED_SHADERS})
|
file(MAKE_DIRECTORY ${COMPILED_SHADERS})
|
||||||
|
else()
|
||||||
|
file(TO_CMAKE_PATH ${COMPILED_SHADERS} COMPILED_SHADERS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(LIBRARY_SOURCES ${LIBRARY_SOURCES}
|
set(LIBRARY_SOURCES ${LIBRARY_SOURCES}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче