Commit 4570cef5 authored by Dominik Charousset's avatar Dominik Charousset

fixed if statement regarding CMAKE_BUILD_TYPE

parent e1864fa9
......@@ -66,9 +66,10 @@ if (ENABLE_DEBUG)
endif ()
# set build default build type if not set
if (not CMAKE_BUILD_TYPE)
if (CMAKE_BUILD_TYPE)
else (CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
endif ()
endif (CMAKE_BUILD_TYPE)
if (DISABLE_CONTEXT_SWITCHING)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCPPA_DISABLE_CONTEXT_SWITCHING")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment