Merge pull request #1142 from mingyuejingque/master

修正Release 和 Debug编译选项
This commit is contained in:
夏楚 2021-09-29 17:24:08 +08:00 committed by GitHub
commit a83187d25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ if(CCACHE_FOUND)
endif(CCACHE_FOUND)
#set(CMAKE_BUILD_TYPE "Release")
if (${CMAKE_BUILD_TYPE} MATCHES "")
if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "Debug")
endif ()