We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3584545 commit 78c8b2bCopy full SHA for 78c8b2b
.github/workflows/cmake-lint.yml
@@ -23,4 +23,10 @@ jobs:
23
- name: Run cmake-format
24
run: |
25
files=$(git ls-files '**/CMakeLists.txt' 'cmake/*.cmake')
26
- cmake-format --check $files
+ if ! cmake-format --check $files; then
27
+ echo "Formatting errors detected. Showing diff..."
28
+ for f in $files; do
29
+ cmake-format "$f" | diff -u "$f" -
30
+ done
31
+ exit 1
32
+ fi
cmake/configure.cmake
@@ -36,7 +36,8 @@ endif()
36
37
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
38
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
39
-set(CMAKE_SKIP_BUILD_RPATH OFF)
+set(
40
+CMAKE_SKIP_BUILD_RPATH OFF)
41
42
if(UNIX)
43
set(COMMON_COMPILER_FLAGS
0 commit comments