Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
modify require cmake version (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-ding authored Jun 29, 2021
1 parent a5164ce commit 9df9978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# ENABLE_PACK_ONE -- Package to one or multi packages
#
# CMake version check
cmake_minimum_required(VERSION 3.5.0)
cmake_minimum_required(VERSION 3.9.0)

# Set the project name
project("Nebula Common" C CXX)
Expand Down Expand Up @@ -52,7 +52,7 @@ include(NebulaCustomTargets)
include(ClangTidy)

if (NEBULA_BUILD_VERSION)
add_compile_definitions(NEBULA_BUILD_VERSION=${NEBULA_BUILD_VERSION})
add_definitions(-DNEBULA_BUILD_VERSION=${NEBULA_BUILD_VERSION})
endif()

# Remove the target exporting file
Expand Down

0 comments on commit 9df9978

Please sign in to comment.