vcpkg/ports/lensfun/fix_build.patch
Jack·Boos·Yu edd68d8a94
[lensfun] Add new port (#34783)
* [lensfun] Add new port

* version

* fix win build

* ver

* try to fix win build

* try again

* fix script tools installation

* ver

* INSTALL_HELPER_SCRIPTS -> OFF

* ver

* typo

* ver

* Apply suggestion

* ver

* Remove feature tool

* ver

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-10-31 12:08:20 -07:00

23 lines
563 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 087928c..d1664ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -102,7 +102,7 @@ IF(BUILD_FOR_SSE2)
ENDIF()
ENDIF()
-IF(WIN32)
+IF(0)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libs/getopt)
# base path for searching for glib on windows
IF(NOT GLIB2_BASE_DIR)
@@ -205,7 +205,7 @@ IF(BUILD_DOC)
ADD_SUBDIRECTORY(docs)
ENDIF()
-IF(WIN32 AND NOT BUILD_STATIC)
+IF(0)
FIND_FILE(GLIB2_DLL
NAMES glib-2.0-0.dll glib-2.dll glib-2-vs9.dll
PATHS "${GLIB2_BASE_DIR}/bin"