diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-04 13:09:43 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-04 13:09:43 +0100 |
| commit | 837d8336fb5323ff797cbcbce17a05a3838e051f (patch) | |
| tree | e66c50960e4d7fc9d8d4fc75623e1ae60b290ef7 /CMakeLists.txt | |
| parent | 98d37116f1dc542010b2d65dcda71871eeca8c87 (diff) | |
| download | cmix-837d8336fb5323ff797cbcbce17a05a3838e051f.tar.gz cmix-837d8336fb5323ff797cbcbce17a05a3838e051f.tar.bz2 cmix-837d8336fb5323ff797cbcbce17a05a3838e051f.zip | |
Sets default standards for all CXX and C libraries.
They can be indiviually be overridden when necessary.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d88d63..1d4c104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,9 @@ if(use_lto) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -flto") endif(use_lto) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_C_STANDARD 99) + add_subdirectory(libcmix-bignum) add_subdirectory(libcmix-crypto) add_subdirectory(libcmix) |
