Unverified Commit 0fba0b1b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

handle empty build type

parent 5a3a5d86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
endif()

if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
  if(NOT (${CMAKE_BUILD_TYPE} STREQUAL "Debug"))
  if(NOT ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug"))
    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math -ftree-vectorize -fexpensive-optimizations")
  endif()
endif()