-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] add a patch to disable building zlib examples
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 0fe939d..407ec52 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -230,12 +230,12 @@ endif() | ||
# Example binaries | ||
#============================================================================ | ||
|
||
-add_executable(example test/example.c) | ||
-target_link_libraries(example zlib) | ||
-add_test(example example) | ||
+# add_executable(example test/example.c) | ||
+# target_link_libraries(example zlib) | ||
+# add_test(example example) | ||
|
||
-add_executable(minigzip test/minigzip.c) | ||
-target_link_libraries(minigzip zlib) | ||
+# add_executable(minigzip test/minigzip.c) | ||
+# target_link_libraries(minigzip zlib) | ||
|
||
if(HAVE_OFF64_T) | ||
add_executable(example64 test/example.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters