Set default configurations, only keep Debug and Release for the moment

This commit is contained in:
Axel Isouard 2017-02-05 06:00:52 -08:00
parent a179540e7e
commit 0bfeb679e9
No known key found for this signature in database
GPG key ID: D30914735883C824

View file

@ -5,8 +5,9 @@ project(libwebrtc)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${CMAKE_SOURCE_DIR}/CMakeModules)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
if (CMAKE_CONFIGURATION_TYPES)
set(CMAKE_CONFIGURATION_TYPES Debug Release)
endif (CMAKE_CONFIGURATION_TYPES)
find_package(Git REQUIRED)
if (WIN32)