Merge pull request #415 from sgbihu/master

Resolve windows name conflict
This commit is contained in:
Eric Haszlakiewicz
2018-06-23 22:08:25 -04:00
committed by GitHub

View File

@@ -120,7 +120,9 @@ add_library(json-c-static
set_property(TARGET json-c PROPERTY C_STANDARD 99)
set_property(TARGET json-c-static PROPERTY C_STANDARD 99)
if (NOT MSVC)
set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c)
endif()
install(TARGETS json-c json-c-static
RUNTIME DESTINATION bin