vcpkg/ports/socket-io-client/fix-build.patch
vipcxj 5c2221771a
[socket-io-client] Update to latest commit (#36226)
* Update socket-io-client to latest commit

* update git-tree

* update hash

* update git-tree

* add patch

* update git-tree

* update patch

* update git-tree

* Update ports/socket-io-client/fix-build.patch

Co-authored-by: Kai Pastor <dg0yt@darc.de>

* update git-tree

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-01-19 12:33:24 -08:00

14 lines
525 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9c69d5..f2852c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
# Only do these if this is the main project, and not if it is included through add_subdirectory
-if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
+if(0)
# Testing only available if this is the main app
# Note this needs to be done in the main CMakeLists
# since it calls enable_testing, which must be in the