mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 18:39:03 +08:00
12 lines
398 B
Diff
12 lines
398 B
Diff
diff --git a/utilities/gengetopt/CMakeLists.txt b/utilities/gengetopt/CMakeLists.txt
|
|
index e3f04b2..0f1f1b5 100755
|
|
--- a/utilities/gengetopt/CMakeLists.txt
|
|
+++ b/utilities/gengetopt/CMakeLists.txt
|
|
@@ -69,3 +69,6 @@ ADD_EXECUTABLE(gengetopt
|
|
INCLUDE_DIRECTORIES(.)
|
|
INCLUDE_DIRECTORIES(skels)
|
|
#INCLUDE_DIRECTORIES(includes)
|
|
+if(WIN32)
|
|
+ INCLUDE_DIRECTORIES(BEFORE .) # for local getopt.h
|
|
+endif()
|