Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belle-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
belle-sip
Commits
ddd78715
Commit
ddd78715
authored
Jun 15, 2016
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly apply compile flags when building with Visual Studio.
parent
787be235
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
src/CMakeLists.txt
+3
-1
No files found.
src/CMakeLists.txt
View file @
ddd78715
...
...
@@ -156,7 +156,9 @@ if(BELLE_SIP_SOURCE_FILES_CXX)
apply_compile_flags
(
BELLE_SIP_SOURCE_FILES_CXX
"CPP"
"CXX"
)
endif
()
if
(
MSVC
)
set_source_files_properties
(
dns.c PROPERTIES COMPILE_FLAGS
"/wd4267"
)
# Disable "possible loss of data" warnings
get_source_file_property
(
DNS_C_COMPILE_FLAGS dns.c COMPILE_FLAGS
)
set
(
DNS_C_COMPILE_FLAGS
"
${
DNS_C_COMPILE_FLAGS
}
/wd4267"
)
# Disable "possible loss of data" warnings
set_source_files_properties
(
dns.c PROPERTIES COMPILE_FLAGS
"
${
DNS_C_COMPILE_FLAGS
}
"
)
endif
()
string
(
REPLACE
";"
" "
LINK_FLAGS_STR
"
${
LINK_FLAGS
}
"
)
...
...
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