Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opusfile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opusfile
Commits
7d1aa64f
Verified
Commit
7d1aa64f
authored
3 years ago
by
Hendrik
Committed by
Ralph Giles
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Do not check for winsock2.h
Signed-off-by:
Ralph Giles
<
giles@thaumas.net
>
Signed-off-by:
evpobr
<
evpobr@gmail.com
>
parent
c81d65c0
Branches
master
No related tags found
1 merge request
!31
cmake support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+1
-6
1 addition, 6 deletions
CMakeLists.txt
with
1 addition
and
6 deletions
CMakeLists.txt
+
1
−
6
View file @
7d1aa64f
...
...
@@ -98,12 +98,7 @@ if(NOT OP_DISABLE_HTTP)
include
(
CheckIncludeFile
)
include
(
CheckCSourceCompiles
)
cmake_push_check_state
(
RESET
)
if
(
WIN32
)
check_include_file
(
"winsock2.h"
OP_HAVE_WINSOCK2_H
)
if
(
NOT OP_HAVE_WINSOCK2_H
)
message
(
FATAL_ERROR
"HTTP support requires a Winsock socket library"
)
endif
()
else
()
if
(
NOT WIN32
)
check_include_file
(
"sys/socket.h"
OP_HAVE_SYS_SOCKET_H
)
if
(
NOT OP_HAVE_SYS_SOCKET_H
)
message
(
FATAL_ERROR
"HTTP support requires a POSIX socket library"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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