]> granicus.if.org Git - json-c/commitdiff
The json_parse command line app doesn't build on Windows, disable it.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 21 Apr 2020 21:35:41 +0000 (21:35 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 21 Apr 2020 21:35:41 +0000 (21:35 +0000)
CMakeLists.txt

index 4d4cc9b717eb4b54e659351e46b3fe60fab34e8d..0d51dc4bae1c1d0dcaf74af618d0d75e9b751e8e 100644 (file)
@@ -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}")