You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
--- libjson-c/CMakeLists.txt
|
|
+++ libjson-c/CMakeLists.txt
|
|
@@ -449,7 +449,7 @@
|
|
include_directories(${PROJECT_SOURCE_DIR})
|
|
include_directories(${PROJECT_BINARY_DIR})
|
|
|
|
-add_subdirectory(doc)
|
|
+#add_subdirectory(doc)
|
|
|
|
# "uninstall" custom target for make generators in unix like operating systems
|
|
# and if that target is not present
|
|
@@ -573,15 +573,15 @@
|
|
|
|
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/json-c)
|
|
|
|
-if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
|
- (NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
|
|
- )
|
|
-add_subdirectory(tests)
|
|
-endif()
|
|
+#if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
|
+# (NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
|
|
+# )
|
|
+#add_subdirectory(tests)
|
|
+#endif()
|
|
|
|
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_APPS)
|
|
# skip apps when we're included in someone else's build
|
|
-if (NOT MSVC) # cmd line apps don't built on Windows currently.
|
|
-add_subdirectory(apps)
|
|
-endif()
|
|
+#if (NOT MSVC) # cmd line apps don't built on Windows currently.
|
|
+#add_subdirectory(apps)
|
|
+#endif()
|
|
endif()
|