mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-11 07:31:30 +08:00
CMake: Require at least C++14
This commit is contained in:
parent
a627f72cd6
commit
4ac3e71f77
@ -217,6 +217,9 @@ target_include_directories (eigen INTERFACE
|
||||
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>
|
||||
)
|
||||
|
||||
# Eigen requires at least C++14
|
||||
target_compile_features (eigen INTERFACE cxx_std_14)
|
||||
|
||||
# Export as title case Eigen
|
||||
set_target_properties (eigen PROPERTIES EXPORT_NAME Eigen)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user