Skip to content

Commit

Permalink
Merge pull request #30 from jespa007/develop
Browse files Browse the repository at this point in the history
=last changes
  • Loading branch information
jespa007 authored Nov 1, 2023
2 parents 8ecd59e + 5cc4d93 commit 781a306
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@


----------------------------
Date: 1/11/2023
Version: 2.4.2

- [x] Fix issue cmake on MAC

----------------------------
Date: 23/10/2023
Version: 2.4.1
Expand Down
6 changes: 4 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ else()
SET( CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -fPIC ")
if(UNIX)
MESSAGE ("-- Plataform: Unix" )
file(READ "/etc/issue" ETC_ISSUE )
string(REGEX MATCH "Debian|Ubuntu|Alpine" DIST ${ETC_ISSUE})
IF (EXISTS "/etc/issue")
file(READ "/etc/issue" ETC_ISSUE )
string(REGEX MATCH "Debian|Ubuntu|Alpine" DIST ${ETC_ISSUE})
ENDIF()
MESSAGE ("-- Dist: " ${DIST} )
else()
MESSAGE ("-- Plataform: Unknown" )
Expand Down
2 changes: 1 addition & 1 deletion src/zetjsoncpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#define ZETJSONCPP_VERSION_MAJOR 2
#define ZETJSONCPP_VERSION_MINOR 4
#define ZETJSONCPP_VERSION_PATCH 1
#define ZETJSONCPP_VERSION_PATCH 2

#ifdef __MEMMANAGER__
#include "memmgr.h"
Expand Down

0 comments on commit 781a306

Please sign in to comment.