Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5007c61e
Commit
5007c61e
authored
Feb 07, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Include iconv when testing ICONV_CONST if needed.
parent
f83cca6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+2
-0
No files found.
extras/buildsystem/cmake/include/config.cmake
View file @
5007c61e
...
...
@@ -109,6 +109,7 @@ if(NOT HAVE_ICONV)
set
(
LIBICONV
"iconv"
)
check_library_exists
(
iconv iconv
""
HAVE_ICONV
)
endif
(
NOT HAVE_ICONV
)
set
(
CMAKE_REQUIRED_LIBRARIES
${
LIBICONV
}
)
CHECK_C_SOURCE_COMPILES
(
" #include <iconv.h>
int main() { return iconv(0, (char **)0, 0, (char**)0, 0); }"
ICONV_NO_CONST
)
if
(
ICONV_NO_CONST
)
...
...
@@ -116,6 +117,7 @@ if( ICONV_NO_CONST )
else
(
ICONV_NO_CONST
)
set
(
ICONV_CONST
" "
)
endif
(
ICONV_NO_CONST
)
set
(
CMAKE_REQUIRED_LIBRARIES
)
check_library_exists
(
rt clock_nanosleep
""
HAVE_CLOCK_NANOSLEEP
)
if
(
HAVE_CLOCK_NANOSLEEP
)
...
...
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