mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Handle PGI compiler
This commit is contained in:
parent
599a88da27
commit
3dc6ff73ca
@ -549,6 +549,8 @@ macro(ei_get_compilerver VAR)
|
||||
else()
|
||||
set(${VAR} "na")
|
||||
endif()
|
||||
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "PGI")
|
||||
set(${VAR} "${CMAKE_CXX_COMPILER_ID}-${CMAKE_CXX_COMPILER_VERSION}")
|
||||
else()
|
||||
# on all other system we rely on ${CMAKE_CXX_COMPILER}
|
||||
# supporting a "--version" or "/version" flag
|
||||
|
Loading…
x
Reference in New Issue
Block a user