Commit febda59a authored by Sharaf Zaman's avatar Sharaf Zaman

Buildfix: Make json-c a PRIVATE dependency

mypaint doesn't expose json-c in its API so having this PUBLIC (the
default) is unnecessary and above all causes linkage problems.
parent c1e0435b
......@@ -78,7 +78,7 @@ index 0000000..d93309d
+
+
+add_library(mypaint SHARED ${mypaint_SOURCES} ${mypaint_HEADERS})
+target_link_libraries(mypaint ${JSONC_LIBRARIES})
+target_link_libraries(mypaint PRIVATE ${JSONC_LIBRARIES})
+set_property(TARGET mypaint PROPERTY C_STANDARD 11)
+install(TARGETS mypaint RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+install(FILES ${mypaint_HEADERS} DESTINATION include)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment