forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[curl] Disable export of Curl::curl targets when building 'tool' feat…
…ure (microsoft#8973) * [curl]Disable export Curl::curl targets when build tool feature * Update patch
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
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,18 @@ | ||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index b376cd1..baffe7e 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -71,8 +71,8 @@ target_link_libraries(${EXE_NAME} libcurl ${CURL_LIBS} ZLIB::ZLIB) | ||
|
||
#INCLUDE(ModuleInstall OPTIONAL) | ||
|
||
-install(TARGETS ${EXE_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
-export(TARGETS ${EXE_NAME} | ||
- APPEND FILE ${PROJECT_BINARY_DIR}/curl-target.cmake | ||
- NAMESPACE CURL:: | ||
-) | ||
+install(TARGETS ${EXE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
+#export(TARGETS ${EXE_NAME} | ||
+# APPEND FILE ${PROJECT_BINARY_DIR}/curl-target.cmake | ||
+# NAMESPACE CURL:: | ||
+#) |
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
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