Browse Source

Merge pull request #415 from sgbihu/master

Resolve windows name conflict
tags/json-c-0.14-20200419
Eric Haszlakiewicz GitHub 7 years ago
parent
commit
a056893263
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      CMakeLists.txt

+ 2
- 0
CMakeLists.txt 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


Loading…
Cancel
Save