(ws) #125 / fix build problem when jsoncpp is not installed locally
This commit is contained in:
parent
5c5ea6dec1
commit
18386ae66f
@ -1 +1 @@
|
|||||||
7.4.4
|
7.4.5
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [7.4.5] - 2019-12-03
|
||||||
|
|
||||||
|
- (ws) #125 / fix build problem when jsoncpp is not installed locally
|
||||||
|
|
||||||
## [7.4.4] - 2019-12-03
|
## [7.4.4] - 2019-12-03
|
||||||
|
|
||||||
- (ws) #125 / cmake detects an already installed jsoncpp and will try to use this one if present
|
- (ws) #125 / cmake detects an already installed jsoncpp and will try to use this one if present
|
||||||
|
@ -20,10 +20,16 @@ add_library(ixcobra STATIC
|
|||||||
${IXCOBRA_HEADERS}
|
${IXCOBRA_HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
find_package(JsonCpp)
|
||||||
|
if (NOT JSONCPP_FOUND)
|
||||||
|
set(JSONCPP_INCLUDE_DIRS ../third_party/jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(IXCOBRA_INCLUDE_DIRS
|
set(IXCOBRA_INCLUDE_DIRS
|
||||||
.
|
.
|
||||||
..
|
..
|
||||||
../ixcore
|
../ixcore
|
||||||
../ixcrypto)
|
../ixcrypto
|
||||||
|
${JSONCPP_INCLUDE_DIRS})
|
||||||
|
|
||||||
target_include_directories( ixcobra PUBLIC ${IXCOBRA_INCLUDE_DIRS} )
|
target_include_directories( ixcobra PUBLIC ${IXCOBRA_INCLUDE_DIRS} )
|
||||||
|
@ -16,9 +16,15 @@ add_library(ixsentry STATIC
|
|||||||
${IXSENTRY_HEADERS}
|
${IXSENTRY_HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
find_package(JsonCpp)
|
||||||
|
if (NOT JSONCPP_FOUND)
|
||||||
|
set(JSONCPP_INCLUDE_DIRS ../third_party/jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(IXSENTRY_INCLUDE_DIRS
|
set(IXSENTRY_INCLUDE_DIRS
|
||||||
.
|
.
|
||||||
..
|
..
|
||||||
../ixcore)
|
../ixcore
|
||||||
|
${JSONCPP_INCLUDE_DIRS})
|
||||||
|
|
||||||
target_include_directories( ixsentry PUBLIC ${IXSENTRY_INCLUDE_DIRS} )
|
target_include_directories( ixsentry PUBLIC ${IXSENTRY_INCLUDE_DIRS} )
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "7.4.4"
|
#define IX_WEBSOCKET_VERSION "7.4.5"
|
||||||
|
Loading…
Reference in New Issue
Block a user