Skip to content

Commit 29637f2

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmake/build_libuhdr.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ 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
24+
-D UHDR_BUILD_EXAMPLES=FALSE
25+
-D UHDR_ENABLE_LOGS=TRUE
2326
)
2427

2528
set (libuhdr_ROOT ${libuhdr_LOCAL_INSTALL_DIR})

0 commit comments

Comments
 (0)