Skip to content

Commit

Permalink
Debian fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
aassif committed Jan 21, 2021
1 parent 8bbaab4 commit 100371d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Findnlohmann_json.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
find_path(NLOHMANNJSON_INCLUDE_DIR nlohmann/json.hpp)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(NlohmannJson DEFAULT_MSG NLOHMANNJSON_INCLUDE_DIR)

if(NLOHMANNJSON_FOUND)
set(NLOHMANNJSON_INCLUDE_DIRS ${NLOHMANNJSON_INCLUDE_DIR})
endif()

mark_as_advanced(NLOHMANNJSON_INCLUDE_DIR)

2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: kodi-pvr-freebox
Priority: extra
Maintainer: Aassif Benassarou <[email protected]>
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-addon-dev,
zlib1g-dev, nlohmann-json3-dev, libssl-dev
zlib1g-dev, nlohmann-json-dev (>= 3.1) | nlohmann-json3-dev (>= 3.1), libssl-dev
Standards-Version: 4.1.2
Section: libs

Expand Down

0 comments on commit 100371d

Please sign in to comment.