Skip to content

Commit

Permalink
cmake: Only install Windows headers in win subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ocrete committed Jul 10, 2018
1 parent 8d1ed9a commit aaa7631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ endif()
# will now apply to the dependent library.
#list(APPEND SOURCES_srt ${SOURCES_haicrypt})
set (VIRTUAL_srt $<TARGET_OBJECTS:srt_virtual> $<TARGET_OBJECTS:haicrypt_virtual>)
set (HEADERS_srt ${HEADERS_srt} ${HEADERS_srt_win32})

if (srt_libspec_shared)
add_library(${TARGET_srt}_shared SHARED ${VIRTUAL_srt})
Expand Down
4 changes: 2 additions & 2 deletions srtcore/platform_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <ws2tcpip.h>
#include <ws2ipdef.h>
#include <windows.h>
#include <stdint.h>
#if defined(_MSC_VER)
#include <inttypes.h>
#include <win/stdint.h>
#include <win/inttypes.h>
#pragma warning(disable:4251)
#endif
#else
Expand Down

0 comments on commit aaa7631

Please sign in to comment.