Skip to content

Commit

Permalink
CMake: properly set default build type
Browse files Browse the repository at this point in the history
  • Loading branch information
DerDakon committed Jul 4, 2018
1 parent 4ccc03f commit 7369288
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -8,7 +8,9 @@ option(DISABLE_STATIC "Avoid building/installing static libraries.")
option(LONG_OUTPUT_NAMES "Use longer names for binaries and libraries: squirrel3 (not sq).")

set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}" CACHE PATH "")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif ()

project(squirrel C CXX)

Expand Down

0 comments on commit 7369288

Please sign in to comment.