mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-05-02 04:29:41 +00:00
remove deprecated functions
This commit is contained in:
parent
9d88f46664
commit
f61caa6b1a
@ -93,19 +93,3 @@ function(configure_file_in name file)
|
|||||||
|
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
# This function do convert shader files to prepared for qt shaders
|
|
||||||
# Arguments :
|
|
||||||
# name - it is name of the target for that will be configuret selected file.
|
|
||||||
# file - it is file that will be configured
|
|
||||||
# see https://doc.qt.io/qt-6/qtshadertools-index.html
|
|
||||||
function(configure_qt_shader name file)
|
|
||||||
|
|
||||||
|
|
||||||
find_program(QSB qsb)
|
|
||||||
execute_process(COMMAND ${QSB} "-o" "${file}.qsb" "${file}"
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
||||||
COMMAND_ERROR_IS_FATAL ANY)
|
|
||||||
|
|
||||||
|
|
||||||
endfunction()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user