# Olive - Non-Linear Video Editor # Copyright (C) 2019 Olive Team # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . file(GLOB_RECURSE OCIOCONF_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ocio *.spi3d *.spi1d) set(QRC_BODY "") foreach(OCIOCONF_FILE ${OCIOCONF_RESOURCES}) string(APPEND QRC_BODY "${OCIOCONF_FILE}\n") configure_file(${OCIOCONF_FILE} ${OCIOCONF_FILE} COPYONLY) endforeach() configure_file(ocioconf.qrc.in ocioconf.qrc @ONLY) set(OLIVE_RESOURCES ${OLIVE_RESOURCES} ${CMAKE_CURRENT_BINARY_DIR}/ocioconf.qrc PARENT_SCOPE )