Skip to content

Commit 576bd65

Browse files
committed
fix: fix CMake packaging defaults for v1.0.4
1 parent 9cdb707 commit 576bd65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cmake_minimum_required(VERSION 3.28)
2-
project(yandex-disk-cpp-client VERSION 1.0.2)
2+
project(yandex-disk-cpp-client VERSION 1.0.4)
33

44
set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
66

7-
option(BUILD_EXAMPLES "Build example executables" ON)
8-
option(BUILD_TESTS "Build tests" OFF)
7+
option(BUILD_EXAMPLES "Build example executables" ${PROJECT_IS_TOP_LEVEL})
8+
option(BUILD_TESTS "Build tests" ${PROJECT_IS_TOP_LEVEL})
99

1010
find_package(nlohmann_json CONFIG REQUIRED)
1111
find_package(CURL CONFIG REQUIRED)

0 commit comments

Comments
 (0)