From 039cf99ac5bb3b64f934f6c02dc291756e9656a3 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 1 Aug 2018 17:20:16 -0700 Subject: [PATCH] Omit tests from Xcode builds --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf62a5c..2806dc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,7 +200,8 @@ set_target_properties (http_pic PROPERTIES POSITION_INDEPENDENT_CODE ON) # --- TEST APPLICATIONS AND EXAMPLES -if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android") +if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android") AND + (NOT ${CMAKE_GENERATOR} STREQUAL "Xcode")) file (GLOB APP_SOURCES ${PROJ_DIR}/examples/cpp/ipv4simple/*.cpp ${PROJ_DIR}/examples/cpp/ipv6simple/*.cpp