From 00272292a74778cc89378dbf0d9126eabdd2d5be Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Tue, 21 Apr 2020 21:35:41 +0000 Subject: [PATCH] The json_parse command line app doesn't build on Windows, disable it. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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}")