Skip to content

File CMakeLists.txt

File List > CMakeLists.txt

Go to the documentation of this file

if(WIN32 OR MSVC)
    message(WARNING "openwarp_vk_monado is not yet available for windows")
    set(USE_OPENWARP_VK_MONADO OFF)
else()
    get_external_for_plugin(Monado_vk)
    file(COPY_FILE ${CMAKE_SOURCE_DIR}/plugins/openwarp_vk/plugin.cpp ${CMAKE_BINARY_DIR}/plugins/openwarp_vk/plugin_m.cpp)
    set(PLUGIN_NAME "plugin.openwarp_vk.monado${ILLIXR_BUILD_SUFFIX}")
    set(OW_PLUGIN_DEFINITIONS MONADO_REQUIRED)
    set(PLUGIN_SOURCE "${CMAKE_BINARY_DIR}/plugins/openwarp_vk/plugin_m.cpp")
    set(OW_PREFIX "../")

    include(../CMakeLists.txt)
endif()