File tree Expand file tree Collapse file tree 3 files changed +439
-1
lines changed Expand file tree Collapse file tree 3 files changed +439
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ project(interval-tree)
66
77add_library (interval-tree INTERFACE )
88
9+ if (INT_TREE_USE_OPTIONAL_POLYFILL)
10+ target_compile_definitions (interval-tree INTERFACE
11+ -DINTERVAL_TREE_USE_OPTIONAL_POLYFILL
12+ )
13+ endif ()
14+
915target_include_directories (interval-tree INTERFACE ./include )
1016
1117if (INT_TREE_DRAW_EXAMPLES)
Original file line number Diff line number Diff line change 11option (INT_TREE_DRAW_EXAMPLES "Draws some examples in a subdirectory. run make_drawable.sh before this" OFF )
2- option (INT_TREE_ENABLE_TESTS "Enable tests?" OFF )
2+ option (INT_TREE_ENABLE_TESTS "Enable tests?" OFF )
3+ # You generally do not want to turn this on, unless you are testing the library.
4+ option (INT_TREE_USE_OPTIONAL_POLYFILL "Use optional polyfill?" OFF )
You can’t perform that action at this time.
0 commit comments