mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 09:39:34 +08:00
Fixed the indentation of the cmake file
This commit is contained in:
parent
912cb3d660
commit
b88c1117d4
@ -514,11 +514,11 @@ macro(ei_set_sitename)
|
|||||||
# if the sitename is not yet set, try to set it
|
# if the sitename is not yet set, try to set it
|
||||||
if(NOT ${SITE} OR ${SITE} STREQUAL "")
|
if(NOT ${SITE} OR ${SITE} STREQUAL "")
|
||||||
set(eigen_computername $ENV{COMPUTERNAME})
|
set(eigen_computername $ENV{COMPUTERNAME})
|
||||||
set(eigen_hostname $ENV{HOSTNAME})
|
set(eigen_hostname $ENV{HOSTNAME})
|
||||||
if(eigen_hostname)
|
if(eigen_hostname)
|
||||||
set(SITE ${eigen_hostname})
|
set(SITE ${eigen_hostname})
|
||||||
elseif(eigen_computername)
|
elseif(eigen_computername)
|
||||||
set(SITE ${eigen_computername})
|
set(SITE ${eigen_computername})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# in case it is already set, enforce lower case
|
# in case it is already set, enforce lower case
|
||||||
@ -638,18 +638,18 @@ macro(ei_get_cxxflags VAR)
|
|||||||
|
|
||||||
if(EIGEN_TEST_OPENMP)
|
if(EIGEN_TEST_OPENMP)
|
||||||
if (${VAR} STREQUAL "")
|
if (${VAR} STREQUAL "")
|
||||||
set(${VAR} OMP)
|
set(${VAR} OMP)
|
||||||
else()
|
else()
|
||||||
set(${VAR} ${${VAR}}-OMP)
|
set(${VAR} ${${VAR}}-OMP)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EIGEN_DEFAULT_TO_ROW_MAJOR)
|
if(EIGEN_DEFAULT_TO_ROW_MAJOR)
|
||||||
if (${VAR} STREQUAL "")
|
if (${VAR} STREQUAL "")
|
||||||
set(${VAR} ROW)
|
set(${VAR} ROW)
|
||||||
else()
|
else()
|
||||||
set(${VAR} ${${VAR}}-ROWMAJ)
|
set(${VAR} ${${VAR}}-ROWMAJ)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endmacro(ei_get_cxxflags)
|
endmacro(ei_get_cxxflags)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user