diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-07 11:33:46 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-07 11:33:46 +0100 |
| commit | 61930b1e9ec4ce9b95ea0e4dd02d9a3e530a312b (patch) | |
| tree | b708ee7c996e1ea71bc94c8cd5e69a2b9b683886 | |
| parent | b15e2e52f6eb74e72f31391dbcf007a9e5ce3815 (diff) | |
set c11 for library
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3441bfa..dc4f506 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,8 @@ FUNCTION (setup_lib LibName) OUTPUT_NAME ${PROJECT_NAME} VERSION ${PROJECT_VERSION} SOVERSION 1 + C_STANDARD 11 + C_EXTENSIONS OFF PUBLIC_HEADER include/vkh.h ) TARGET_INCLUDE_DIRECTORIES(${LibName} PRIVATE |