Commit 2fbda3fc authored by jan.koester's avatar jan.koester
Browse files

windows fixes

parent 4e7d4d03
Loading
Loading
Loading
Loading
Loading
+6 −6
Changes for cmake/Findjson-c.cmake: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -8,15 +8,15 @@ include(FindPackageHandleStandardArgs)
# 1. Find Header and Link Libraries
# -----------------------------------------------------------------------------

# Find the header file (e.g., json-c/json.h or json.h)
find_path(JSONC_INCLUDE_DIR NAMES json-c/json.h json.h
    HINTS ENV JSONC_ROOT
find_path(JSONC_INCLUDE_DIR
	NAMES json-c/json.h
	PATH_SUFFIXES include
)

# Find the shared library file (.lib on Windows, .so/.dylib elsewhere)
# json-c library names can vary (e.g., json-c, json-c-0, json-c.so.0)
find_library(JSONC_LIBRARY NAMES json-c json-c-0)
# Find out the path to the library
find_library(JSONC_LIBRARY
	NAMES hiredis
)

# -----------------------------------------------------------------------------
# 2. Handle Required Arguments