Fixed compiler options in Android build (Windows)
This commit is contained in:
@@ -66,10 +66,8 @@ if(CMAKE_VERBOSE)
|
|||||||
set(CMAKE_VERBOSE_MAKEFILE 1)
|
set(CMAKE_VERBOSE_MAKEFILE 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32 AND ${CMAKE_GENERATOR} MATCHES "(MinGW)|(MSYS)" AND NOT ANDROID)
|
||||||
if(${CMAKE_GENERATOR} MATCHES "(MinGW)|(MSYS)")
|
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" CACHE STRING "")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" CACHE STRING "")
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user