We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ce219a + d676095 commit 7600ba8Copy full SHA for 7600ba8
CMakeLists.txt
@@ -15,6 +15,11 @@ message(STATUS "Compiling spqlios-fft version: ${SPQLIOS_VERSION_MAJOR}.${SPQLIO
15
set(WARNING_PARANOID ON CACHE BOOL "Treat all warnings as errors")
16
set(ENABLE_TESTING ON CACHE BOOL "Compiles unittests and integration tests")
17
18
+if (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
19
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type: Release or Debug" FORCE)
20
+endif()
21
+message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
22
+
23
if (WARNING_PARANOID)
24
add_compile_options(-Wall -Werror)
25
endif()
0 commit comments