mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 13:57:58 +08:00
14 lines
461 B
Diff
14 lines
461 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 3a85c41..92dadca 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -73,7 +73,7 @@ if(MSVC)
|
||
|
|
||
|
if(WITH_TOOLS)
|
||
|
find_path(GETOPT_INCLUDE_DIR getopt.h PATH_SUFFIXES include)
|
||
|
- find_library(GETOPT_LIBRARIES wingetopt PATH_SUFFIXES lib)
|
||
|
+ find_library(GETOPT_LIBRARIES getopt PATH_SUFFIXES lib)
|
||
|
include_directories(${GETOPT_INCLUDE_DIR})
|
||
|
endif(WITH_TOOLS)
|
||
|
endif(MSVC)
|