Skip to content

Commit

Permalink
Updated CMake to use C++14 and commented line to enable static memory…
Browse files Browse the repository at this point in the history
… sanitization
  • Loading branch information
albertoesmp committed Apr 2, 2024
1 parent 4aa844c commit ce17c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions cmake/CMakeConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RELEASE)
endif()
# Common flags
if(PCL_BINDING)
set(CMAKE_CXX_STANDARD 14)
else()
set(CMAKE_CXX_STANDARD 11)
endif()
set(CMAKE_CXX_STANDARD 14)
if(WIN32 OR MSVC) # Windows flags
set(CMAKE_CXX_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG")
set(CMAKE_CXX_FLAGS_DEBUG "")
Expand Down
2 changes: 1 addition & 1 deletion src/main/helios_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const char * HELIOS_VERSION = "1.3.0";

const char * HELIOS_GIT_HASH = "d35650b5";
const char * HELIOS_GIT_HASH = "4aa844cd";

const char * getHeliosVersion(){
return HELIOS_VERSION;
Expand Down

0 comments on commit ce17c65

Please sign in to comment.