File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,21 @@ HunterGate(
10
10
SHA1 "put-archive-sha1-here"
11
11
)
12
12
13
- project (tree )
13
+ project (cpptrees )
14
14
15
- option (TREE_DISABLE_TESTING "dont build tests" )
15
+ option (CPPTREES_ENABLE_TESTING "dont build tests" ON )
16
16
17
17
hunter_add_package (mpark_variant )
18
18
19
19
find_package (mpark_variant CONFIG REQUIRED )
20
20
21
- add_library (tree INTERFACE )
22
- target_link_libraries (tree INTERFACE mpark_variant )
23
- target_include_directories (tree INTERFACE
21
+ add_library (cpptrees INTERFACE )
22
+ target_link_libraries (cpptrees INTERFACE mpark_variant )
23
+ target_include_directories (cpptrees INTERFACE
24
24
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
25
25
$< INSTALL_INTERFACE:include> )
26
26
27
- if (NOT TREE_DISABLE_TESTING )
27
+ if (CPPTREES_ENABLE_TESTING )
28
28
enable_testing ()
29
29
add_subdirectory (test )
30
30
endif ()
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ endif()
15
15
function (gen_test name )
16
16
add_executable (${name} ${name} .cpp )
17
17
#set_target_properties(${name} PROPERTIES COMPILE_FLAGS "${cxx_strict}")
18
- target_link_libraries (${name} tree )
18
+ target_link_libraries (${name} cpptrees )
19
19
add_test (${name} ${name} )
20
20
endfunction (gen_test )
21
21
You can’t perform that action at this time.
0 commit comments