Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
38b6647d
Commit
38b6647d
authored
Feb 04, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Don't send two time -std=c99.
parent
34c102eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
+1
-2
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+1
-1
No files found.
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
View file @
38b6647d
...
@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
...
@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__)
add_definitions(-D__LIBVLC__)
add_definitions(-I.) # Hack
add_definitions(-I. -std=c99)
add_definitions(-std=c99) # Hack
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include)
...
...
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
38b6647d
...
@@ -188,4 +188,4 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
...
@@ -188,4 +188,4 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
# SET_TARGET_PROPERTIES
# SET_TARGET_PROPERTIES
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
"-
std=c99 -I. -
Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
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