vcpkg/ports/itk/rtk/getopt-win32.diff
2024-11-15 16:16:45 -08:00

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()