summaryrefslogtreecommitdiff
path: root/vendor/optional.cmake
blob: 157ccc991df24eef5ece0dc2f0c4b23f3294f2b1 (plain)
1
2
3
4
5
6
7
8
9
10
add_library(optional INTERFACE)

# This polyfill is really only needed for
# Windows. We need to be careful to not leak
# it into any of our public interfaces.
if(WIN32)
    target_include_directories(optional SYSTEM INTERFACE
        ${CMAKE_SOURCE_DIR}/vendor/optional/include
    )
endif()