Skip to content

Commit

Permalink
Rename CPS_VERSION to PROJECT_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
ckyang0225 authored and bretbrownjr committed Jul 19, 2024
1 parent 90f2d67 commit 6a54180
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [main]
paths:
- ".github/workflows/test.yml"
- "CPS_VERSION"
- "PROJECT_VERSION"
- "meson.build"
- "meson_options.txt"
- "src/**"
Expand All @@ -14,7 +14,7 @@ on:
branches: [main]
paths:
- ".github/workflows/test.yml"
- "CPS_VERSION"
- "PROJECT_VERSION"
- "meson.build"
- "meson_options.txt"
- "src/**"
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.22)
file(READ CPS_VERSION VERSION)
file(READ PROJECT_VERSION VERSION)
string(STRIP ${VERSION} VERSION_STRIPPED)
project(
cps-config
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
project(
'cps-config',
'cpp',
version : files('CPS_VERSION'),
version : files('PROJECT_VERSION'),
license : 'MIT',
meson_version : '>= 0.64',
default_options : ['cpp_std=c++17', 'buildtype=debugoptimized', 'warning_level=2'],
Expand Down

0 comments on commit 6a54180

Please sign in to comment.