cmake: use option to pass extra check options instead of hardcoding them
This commit is contained in:
1 parent
b4fc66525c
commit
c9b8559af5
2 files changed
+9
-5
No files matched your search
@@ -44,5 +44,7 @@ jobs:
|
||||
libudev-devd
|
||||
|
||||
run: |
|
||||
cmake -S . -B build -GNinja
|
||||
cmake -S . -B build -GNinja \
|
||||
-DSDL_EXTRA_CHECK_INCLUDES="/usr/local/include" \
|
||||
-DSDL_EXTRA_CHECK_LINK_OPTIONS="-L/usr/local/lib"
|
||||
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`
|
||||
Reference in new issue
Block a user