Fix flags on win
This commit is contained in:
parent
5f233a35c0
commit
cf9e714626
|
@ -108,7 +108,7 @@ endif()
|
|||
|
||||
## libmynteye
|
||||
|
||||
if(NOT WITH_GLOG)
|
||||
if(NOT WITH_GLOG AND NOT OS_WIN)
|
||||
set(__MINIGLOG_FLAGS "-Wno-unused-parameter -Wno-format -Wno-return-type")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${__MINIGLOG_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${__MINIGLOG_FLAGS}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user