mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-30 11:54:55 +01:00
fix for msvc14
This commit is contained in:
parent
18bf26989c
commit
b04c2f9f03
@ -55,6 +55,9 @@ if(CMAKE_COMPILER_IS_GNUCC AND NOT WIN32)
|
|||||||
ADD_DEFINITIONS(-Wdeclaration-after-statement)
|
ADD_DEFINITIONS(-Wdeclaration-after-statement)
|
||||||
#http://gcc.gnu.org/wiki/Visibility
|
#http://gcc.gnu.org/wiki/Visibility
|
||||||
add_definitions(-fvisibility=hidden)
|
add_definitions(-fvisibility=hidden)
|
||||||
|
elseif(MSVC14 OR MSVC14)
|
||||||
|
#pthread-w32 issue, timespec is now part of time.h
|
||||||
|
ADD_DEFINITIONS(-D_TIMESPEC_DEFINED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user