Skip to content

Commit 4edbbca

Browse files
committed
add a comment to a build option
1 parent e26e0bb commit 4edbbca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

polymorphism/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.29)
22

33
project(polymorphism VERSION 1.0.0 LANGUAGES CXX)
44

5+
# Enable testing by default when this is the top-level project
56
option(POLYMORPHISM_ENABLE_TESTING "enable testing for polymorphism" ${PROJECT_IS_TOP_LEVEL})
67

78
add_executable(${PROJECT_NAME}

0 commit comments

Comments
 (0)