remove CXX settings redundancy in CMakeLists.txt
This commit is contained in:
parent
d3f66e77f6
commit
8966c76a98
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.8.2) # cxx_std_11
|
||||
project(ddl_library VERSION 4.4.0)
|
||||
|
||||
# Disable extensions here and require the chosen CMAKE_CXX_STANDARD
|
||||
# Disable extensions here and require the chosen CMAKE_CXX_STANDARD (coming from e.g. Conan)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
@ -41,10 +41,6 @@ option(ddl_cmake_enable_ddl_generator_tools
|
|||
OFF)
|
||||
# End Options #############################################
|
||||
|
||||
# Disable extensions here and require the chosen CMAKE_CXX_STANDARD (coming from e.g. Conan)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Check for default install prefix and cmake build type (UNIX)
|
||||
include(./cmake/check_cmake_install_prefix.cmake)
|
||||
include(./cmake/check_cmake_build_type.cmake)
|
||||
|
|
Loading…
Reference in a new issue