Commit ac9414d
committed
Fix release build by guarding add_subdirectory(test)
The release workflow removes the test/ directory from the archive
before running the build command. The unconditional
add_subdirectory(test) in CMakeLists.txt causes CMake to fail with:
add_subdirectory given source "test" which is not an existing directory.
Guard it with IS_DIRECTORY so the build succeeds when test/ is absent.1 parent 7119511 commit ac9414d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
0 commit comments