Skip to content

Commit

Permalink
Merge pull request #4531 from telefonicaid/hardening/c++14
Browse files Browse the repository at this point in the history
FIX compile using C++14
  • Loading branch information
mapedraza authored May 30, 2024
2 parents 33eef76 + f352392 commit 41ad0fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
- Fix: use null for non existing attributes in macro substitution applied to "paylaod" field (instead of empty string) to make behaviour more consistent (#4004)
- Fix: simplified GET /version operation, without including "libversions" field (add ?options=libVersions to get it)
- Fix: lighter operation to get databases list from MongoDB (#4517)
- Hardening: compile code using C++14 standard
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ PROJECT(contextBroker)
# find_package() for mongo driver doesn't work with cmake 2
cmake_minimum_required(VERSION 3.0)

# set C++14 standard
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

#
# DEBUG or RELEASE build ?
#
Expand Down

0 comments on commit 41ad0fe

Please sign in to comment.