Permalink
Browse files

handle empty build type

  • Loading branch information...
sloriot committed May 2, 2018
1 parent 08bcd94 commit 7850024f5051eeec492aa3042d0b267c875cd5c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -40,7 +40,7 @@ if ( CGAL_FOUND )
include_directories(BEFORE patches_in_CGAL_4.2/include)
endif()
if (${CMAKE_BUILD_TYPE} STREQUAL Release)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
if(CMAKE_COMPILER_IS_GNUCXX)
message (STATUS "Release mode with g++: using -fno-strict-aliasing flags")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing")

0 comments on commit 7850024

Please sign in to comment.