summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-win32-crt.cmake
blob: 85348e8998c1736aa3ef6d6081e7d412e03f17d4 (plain)
1
2
3
4
5
6
7
8
if(MSVC)
    set(SDK_WIN32_CRT "" CACHE PATH "Path to dynamically linked CRT libraries")
    if(SDK_WIN32_CRT)
        file(GLOB crt-libs "${SDK_WIN32_CRT}/*.dll")
        install(FILES ${crt-libs} DESTINATION . ${opentrack-perms})
        install(FILES "${SDK_WIN32_CRT}/LICENSE.TXT" RENAME "MSVCRT-LICENSE.txt" DESTINATION "./${opentrack-hier-doc}/3rdparty-notices")
    endif()
endif()