We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac842d commit 320810fCopy full SHA for 320810f
CMakeLists.txt
@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 2.8)
2
3
project(litehtml)
4
5
+if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
6
+ message(STATUS "No build type selected, default to Release")
7
+ set(CMAKE_BUILD_TYPE "Release")
8
+endif()
9
+
10
if(NOT MSVC)
11
set(CMAKE_CXX_FLAGS "-std=c++11")
12
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -DDEBUG -g")
0 commit comments