Skip to content

Commit a630338

Browse files
committed
fix libuhdr build recipe
Signed-off-by: loicvital <[email protected]>
1 parent 5e2d771 commit a630338

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmake/build_libuhdr.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ build_dependency_with_cmake(libuhdr
1818
GIT_REPOSITORY ${libuhdr_GIT_REPOSITORY}
1919
GIT_TAG ${libuhdr_GIT_TAG}
2020
CMAKE_ARGS
21-
-D BUILD_SHARED_LIBS=${libdeflate_BUILD_SHARED_LIBS}
21+
-D BUILD_SHARED_LIBS=${libuhdr_BUILD_SHARED_LIBS}
2222
-D CMAKE_INSTALL_LIBDIR=lib
23+
-D CMAKE_POSITION_INDEPENDENT_CODE=ON
2324
)
2425

2526
set (libuhdr_ROOT ${libuhdr_LOCAL_INSTALL_DIR})

0 commit comments

Comments
 (0)