mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
未指定编译类型时,强制为Debug编译
This commit is contained in:
parent
4ff206fa42
commit
1292ec6d49
@ -12,6 +12,10 @@ if(CCACHE_FOUND)
|
|||||||
endif(CCACHE_FOUND)
|
endif(CCACHE_FOUND)
|
||||||
|
|
||||||
#set(CMAKE_BUILD_TYPE "Release")
|
#set(CMAKE_BUILD_TYPE "Release")
|
||||||
|
if (${CMAKE_BUILD_TYPE} MATCHES "")
|
||||||
|
set(CMAKE_BUILD_TYPE "Debug")
|
||||||
|
endif ()
|
||||||
|
|
||||||
message(STATUS "编译类型:${CMAKE_BUILD_TYPE}")
|
message(STATUS "编译类型:${CMAKE_BUILD_TYPE}")
|
||||||
|
|
||||||
#设置bin和lib库目录
|
#设置bin和lib库目录
|
||||||
|
Loading…
Reference in New Issue
Block a user