Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
speex
Commits
17d49b8e
Commit
17d49b8e
authored
1 year ago
by
Ghislain MARY
Browse files
Options
Download
Patches
Plain Diff
Build with position independent code when building statically.
parent
700950cb
linphone
1 merge request
!7
Build with position independent code when building statically.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libspeex/CMakeLists.txt
+8
-2
libspeex/CMakeLists.txt
with
8 additions
and
2 deletions
libspeex/CMakeLists.txt
+
8
−
2
View file @
17d49b8e
...
...
@@ -70,7 +70,10 @@ if(ENABLE_SPEEX_CODEC)
$<BUILD_INTERFACE:
${
PROJECT_BINARY_DIR
}
>
$<INSTALL_INTERFACE:include>
)
if
(
MSVC
)
if
(
NOT BUILD_SHARED_LIBS
)
set_target_properties
(
speex PROPERTIES POSITION_INDEPENDENT_CODE ON
)
endif
()
if
(
MSVC AND BUILD_SHARED_LIBS
)
install
(
FILES $<TARGET_PDB_FILE:speex>
DESTINATION
${
CMAKE_INSTALL_BINDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
...
...
@@ -119,7 +122,10 @@ if(ENABLE_SPEEX_DSP)
$<BUILD_INTERFACE:
${
PROJECT_BINARY_DIR
}
>
$<INSTALL_INTERFACE:include>
)
if
(
MSVC
)
if
(
NOT BUILD_SHARED_LIBS
)
set_target_properties
(
speexdsp PROPERTIES POSITION_INDEPENDENT_CODE ON
)
endif
()
if
(
MSVC AND BUILD_SHARED_LIBS
)
install
(
FILES $<TARGET_PDB_FILE:speexdsp>
DESTINATION
${
CMAKE_INSTALL_BINDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets