mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 20:19:07 +00:00
Enabled C++11 in CMake
This commit is contained in:
parent
f6474ee571
commit
c05cd56dc8
@ -26,6 +26,9 @@ configure_file(${version_header} ${CMAKE_CURRENT_BINARY_DIR}/elfio_version.hpp.c
|
||||
|
||||
project(elfio VERSION ${version} LANGUAGES C CXX)
|
||||
|
||||
# Enable C++11
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Create a header only CMake target for elfio
|
||||
@ -104,4 +107,4 @@ if (IS_TOP_PROJECT)
|
||||
elfio
|
||||
EXPORT
|
||||
${PROJECT_NAME}_Targets)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user