diff --git a/CMakeLists.txt b/CMakeLists.txt index 7604651..8dcec15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,8 @@ target_link_libraries(tc INTERFACE eigen) target_include_directories(tc INTERFACE include) -if (TC_BUILD_EXAMPLE) - add_subdirectory(example) +if (TC_BUILD_EXAMPLES) + add_subdirectory(examples) endif () if (TC_BUILD_TESTING) diff --git a/example/CMakeLists.txt b/examples/CMakeLists.txt similarity index 100% rename from example/CMakeLists.txt rename to examples/CMakeLists.txt diff --git a/example/bench.cpp b/examples/bench.cpp similarity index 100% rename from example/bench.cpp rename to examples/bench.cpp diff --git a/example/group.cpp b/examples/group.cpp similarity index 100% rename from example/group.cpp rename to examples/group.cpp diff --git a/example/path.cpp b/examples/path.cpp similarity index 100% rename from example/path.cpp rename to examples/path.cpp