File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 9898 cmake -B build `
9999 --preset=windows-release `
100100 -DUSE_TOMLPLUSPLUS=OFF `
101- -DUSE_CLI11=OFF
101+ -DUSE_CLI11=OFF `
102+ -DSYNERGY_VERSION_CHECK=${{ vars.SYNERGY_VERSION_CHECK }}
102103
103104 - name : Build
104105 run : cmake --build build -j8
@@ -180,7 +181,8 @@ jobs:
180181 cmake -B build \
181182 --preset=macos-release \
182183 -DUSE_TOMLPLUSPLUS=OFF \
183- -DUSE_CLI11=OFF
184+ -DUSE_CLI11=OFF \
185+ -DSYNERGY_VERSION_CHECK=${{ vars.SYNERGY_VERSION_CHECK }}
184186
185187 - name : Build
186188 run : cmake --build build -j8
@@ -290,7 +292,8 @@ jobs:
290292 cmake -B build \
291293 --preset=linux-release ${{ matrix.distro.extra-cmake-args }} \
292294 -DUSE_TOMLPLUSPLUS=OFF \
293- -DUSE_CLI11=OFF
295+ -DUSE_CLI11=OFF \
296+ -DSYNERGY_VERSION_CHECK=${{ vars.SYNERGY_VERSION_CHECK }}
294297
295298 - name : Build
296299 run : cmake --build build -j8
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ cmake_minimum_required(VERSION 3.8)
1717
1818project (synergy C CXX)
1919
20+ option (SYNERGY_VERSION_CHECK "Enable version check" ON )
21+ if (SYNERGY_VERSION_CHECK)
22+ add_definitions (-DSYNERGY_VERSION_CHECK)
23+ endif ()
24+
2025include (cmake/Odin.cmake)
2126include (cmake/Licensing.cmake)
2227include (cmake/Build .cmake)
You can’t perform that action at this time.
0 commit comments