vcpkg/ports/itk/rtk/getopt-win32.diff

12 lines
398 B
Diff
Raw Normal View History

2024-11-16 08:16:45 +08:00
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()