Skip to content

Commit b146e34

Browse files
author
Hendrik Mennen
committed
Fix libaom Windows build: add explicit source dir to cmake
libaom's CMakeLists.txt uses relative include() paths that require the source directory to be explicitly specified. Without -S ., cmake cannot find the included cmake modules, causing configuration to fail.
1 parent 313a457 commit b146e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/windows/library/libaom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function build(): void
1919
cmd()->cd($this->source_dir)
2020
->execWithWrapper(
2121
$this->builder->makeSimpleWrapper('cmake'),
22-
'-B build ' .
22+
'-S . -B build ' .
2323
'-A x64 ' .
2424
"-DCMAKE_TOOLCHAIN_FILE={$this->builder->cmake_toolchain_file} " .
2525
'-DCMAKE_BUILD_TYPE=Release ' .

0 commit comments

Comments
 (0)