Skip to content

File CMakeLists.txt

File List > CMakeLists.txt

Go to the documentation of this file

if(WIN32 OR MSVC)
    message(WARNING "timweapr_gl.monado is not yet available for windows")
    set(USE_TIMEWARP_GL.MONADO OFF)
else()
    get_external_for_plugin(Monado_vk)
    file(COPY_FILE ${CMAKE_SOURCE_DIR}/plugins/timewarp_gl/plugin.cpp ${CMAKE_BINARY_DIR}/plugins/timewarp_gl/plugin_m.cpp)
    set(PLUGIN_NAME "plugin.timewarp_gl.monado${ILLIXR_BUILD_SUFFIX}")
    set(TW_PLUGIN_DEFINITIONS "MONADO_REQUIRED")
    set(PLUGIN_SOURCE "${CMAKE_BINARY_DIR}/plugins/timewarp_gl/plugin_m.cpp")
    set(TW_PREFIX "../")

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