mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
STYLE: Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
This commit is contained in:
@@ -7,7 +7,7 @@ if(NOT EIGEN_TEST_NOQT)
|
||||
if(QT4_FOUND)
|
||||
add_subdirectory(mandelbrot)
|
||||
add_subdirectory(opengl)
|
||||
else(QT4_FOUND)
|
||||
else()
|
||||
message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos")
|
||||
endif(QT4_FOUND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -5,7 +5,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
|
||||
add_definitions ( "-DNDEBUG" )
|
||||
endif (CMAKE_COMPILER_IS_GNUCXX)
|
||||
endif ()
|
||||
|
||||
include_directories( ${QT_INCLUDE_DIR} )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user