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
mediastreamer2
Commits
7b1b79e2
Commit
7b1b79e2
authored
Jan 25, 2016
by
Ghislain MARY
Browse files
Fix build with Visual Studio 2010.
parent
6f6ca875
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7b1b79e2
...
...
@@ -121,6 +121,11 @@ include(CheckIncludeFile)
include
(
CheckLibraryExists
)
include
(
CMakePushCheckState
)
if
(
MSVC AND MSVC_VERSION LESS 1800
)
set
(
MSVC_INCLUDE_DIR
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/MSVC"
)
list
(
APPEND CMAKE_REQUIRED_INCLUDES
"
${
MSVC_INCLUDE_DIR
}
"
)
endif
()
find_package
(
Threads
)
check_include_file
(
sys/shm.h HAVE_SYS_SHM_H
)
...
...
@@ -379,7 +384,7 @@ endif()
if
(
PCAP_FOUND
)
include_directories
(
${
PCAP_INCLUDE_DIRS
}
)
endif
()
if
(
MSVC
)
if
(
MSVC
_INCLUDE_DIR
)
include_directories
(
${
MSVC_INCLUDE_DIR
}
)
endif
()
...
...
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