mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 19:30:16 +08:00
8d59cb32d2
* Fix liblzma wrapper for older CMake * Add feature for tools * Update versions * Test find_package(... REQUIRED)
19 lines
618 B
Diff
19 lines
618 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index cddbccb..63c8f3d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -492,6 +492,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/liblzmaConfig.cmake"
|
|
COMPONENT liblzma_Development)
|
|
|
|
|
|
+if(BUILD_TOOLS)
|
|
#############################################################################
|
|
# getopt_long
|
|
#############################################################################
|
|
@@ -663,3 +664,4 @@ if(NOT MSVC AND HAVE_GETOPT_LONG)
|
|
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
|
COMPONENT xz)
|
|
endif()
|
|
+endif()
|
|
\ No newline at end of file
|