Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
25a3df80
Commit
25a3df80
authored
Apr 23, 2014
by
Ghislain MARY
Browse files
Link against libgcc and libmingwex when compiling for Windows with CMake.
parent
95b0718a
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/CMakeLists.txt
View file @
25a3df80
if
(
MSVC
)
find_library
(
LIBGCC NAMES gcc
)
find_library
(
LIBMINGWEX NAMES mingwex
)
endif
()
find_library
(
LIBORTP NAMES ortp
)
find_library
(
LIBMEDIASTREAMER_BASE NAMES mediastreamer_base
)
find_library
(
LIBMEDIASTREAMER_VOIP NAMES mediastreamer_voip
)
...
...
@@ -119,7 +123,7 @@ add_definitions(
set
(
LIBS ws2_32
)
endif
(
WIN32
)
set
(
LIBS
${
LIBS
}
${
LIBORTP
}
${
LIBMEDIASTREAMER_BASE
}
${
LIBMEDIASTREAMER_VOIP
}
${
LIBBELLESIP
}
${
LIBXML2
}
)
set
(
LIBS
${
LIBS
}
${
LIBGCC
}
${
LIBMINGWEX
}
${
LIBORTP
}
${
LIBMEDIASTREAMER_BASE
}
${
LIBMEDIASTREAMER_VOIP
}
${
LIBBELLESIP
}
${
LIBXML2
}
)
add_library
(
linphone SHARED
${
SOURCE_FILES
}
)
set_target_properties
(
linphone PROPERTIES VERSION 3.7.0 SOVERSION 5
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment