From: Eric Haszlakiewicz Date: Tue, 21 Apr 2020 21:35:41 +0000 (+0000) Subject: The json_parse command line app doesn't build on Windows, disable it. X-Git-Tag: json-c-0.15-20200726~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00272292a74778cc89378dbf0d9126eabdd2d5be;p=json-c The json_parse command line app doesn't build on Windows, disable it. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d4cc9b..0d51dc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,9 @@ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND add_subdirectory(tests) endif() +if (NOT MSVC) # cmd line apps don't built on Windows currently. add_subdirectory(apps) +endif() # Set some packaging variables. set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")