Merge pull request #696 from ssrlive/master

To avoid target exe file export JSON functions.
This commit is contained in:
Eric Hawicz authored and GitHub committed 2021-05-01 15:21:31 -04:00
commit cd7109f767
5 files changed
+8 -4

No files matched your search

+4
View File
@@ -79,6 +79,10 @@ include(CMakePackageConfigHelpers)
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
option(BUILD_STATIC_LIBS "Default to building static libraries" ON)
if (BUILD_SHARED_LIBS)
add_definitions(-D JSON_C_DLL)
endif()
# Generate a release merge and test it to verify the correctness of republishing the package.
ADD_CUSTOM_TARGET(distcheck
COMMAND make package_source