We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cdb707 commit 576bd65Copy full SHA for 576bd65
1 file changed
CMakeLists.txt
@@ -1,11 +1,11 @@
1
cmake_minimum_required(VERSION 3.28)
2
-project(yandex-disk-cpp-client VERSION 1.0.2)
+project(yandex-disk-cpp-client VERSION 1.0.4)
3
4
set(CMAKE_CXX_STANDARD 17)
5
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6
7
-option(BUILD_EXAMPLES "Build example executables" ON)
8
-option(BUILD_TESTS "Build tests" OFF)
+option(BUILD_EXAMPLES "Build example executables" ${PROJECT_IS_TOP_LEVEL})
+option(BUILD_TESTS "Build tests" ${PROJECT_IS_TOP_LEVEL})
9
10
find_package(nlohmann_json CONFIG REQUIRED)
11
find_package(CURL CONFIG REQUIRED)
0 commit comments