Commit fe8be2c
committed
Fix CMake warning by reordering commands
Moved cmake_minimum_required() before project() in CMakeLists.txt to
resolve the CMake dev warning. This follows CMake best practices where
cmake_minimum_required() should be called before project().
Reference: Warn when running `cmake ..`:
```
[gpadmin@cdw build]$ cmake ..
CMake Warning (dev) at CMakeLists.txt:14 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
```1 parent d03af81 commit fe8be2c
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments