Skip to content

Commit 277b14d

Browse files
committed
Add shared library exports
1 parent cda14ac commit 277b14d

File tree

2 files changed

+80
-72
lines changed

2 files changed

+80
-72
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ target_compile_definitions(opusfile
8383
$<$<BOOL:${OP_FIXED_POINT}>:OP_FIXED_POINT>
8484
$<$<BOOL:${OP_ENABLE_ASSERTIONS}>:OP_ENABLE_ASSERTIONS>
8585
$<$<BOOL:${OP_HAVE_LRINTF}>:OP_HAVE_LRINTF>
86+
PUBLIC
87+
$<$<BOOL:${BUILD_SHARED_LIBS}>:OP_BUILD_SHARED>
8688
)
8789
install(TARGETS opusfile
8890
EXPORT OpusFileTargets

0 commit comments

Comments
 (0)