martinmoene / optional-lite

optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
403 stars 45 forks source link

Add CMakeLists.txt for example subdirectory. #50

Closed viettrungluu closed 5 years ago

viettrungluu commented 5 years ago

This makes the OPTIONAL_LITE_OPT_BUILD_EXAMPLES option work.

Fixes https://github.com/martinmoene/optional-lite/issues/48