mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 12:23:44 +01:00
Fix jansson not building
This commit is contained in:
parent
493c12916c
commit
21af22ac2b
@ -17,7 +17,7 @@ endif()
|
|||||||
target_link_libraries(vgmstream_cli libvgmstream)
|
target_link_libraries(vgmstream_cli libvgmstream)
|
||||||
|
|
||||||
# Link to Jansson, if we have it
|
# Link to Jansson, if we have it
|
||||||
if (USE_JANSSON AND JANSSON_FOUND)
|
if (USE_JANSSON)
|
||||||
target_compile_definitions(vgmstream_cli PRIVATE HAVE_JSON)
|
target_compile_definitions(vgmstream_cli PRIVATE HAVE_JSON)
|
||||||
target_include_directories(vgmstream_cli PRIVATE ${JANSSON_INCLUDE_DIRS})
|
target_include_directories(vgmstream_cli PRIVATE ${JANSSON_INCLUDE_DIRS})
|
||||||
target_link_libraries(vgmstream_cli jansson)
|
target_link_libraries(vgmstream_cli jansson)
|
||||||
|
@ -6,7 +6,6 @@ if(NOT WIN32 AND USE_JANSSON)
|
|||||||
if(JANSSON_FOUND)
|
if(JANSSON_FOUND)
|
||||||
set(JANSSON_SOURCE "(system)")
|
set(JANSSON_SOURCE "(system)")
|
||||||
set(JANSSON_PKG libjansson)
|
set(JANSSON_PKG libjansson)
|
||||||
|
|
||||||
link_directories(${JANSSON_LIBRARY_DIRS})
|
link_directories(${JANSSON_LIBRARY_DIRS})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user