vcpkg/ports/highs/fix-hconfig-path.patch
Luke Marshall a8e1b590c6
[HiGHS] Added new port for the HiGHS optimization library (#30529)
* Added new port for the HiGHS optimization library

* Fixed formatting and added versions

* Fixed sha hash

* Updated port to exclude arm64 support

* Update SHA

* Added license to vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Use VERSION variable for portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update SHA

* Removed redundant differences in cmake patch

* Update SHA

* Improved pkconfig and thread support

* Update SHA

* Enable support for arm64

* Update SHA

* Fixed linker errors for arm64-windows builds

* Update SHA

* Changed patch name, converted tab to spaces for consistency

* Update SHA

* Cleaned portfile, replaced pkgconfig patch with vcpkg command

* Updated SHA

* Updated fix-threads patch

* Update SHA

* Improved the threads patch

* Update SHA

---------

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Luke Marshall <luke.marshall@microsoft.com>
2023-04-02 21:15:12 -07:00

22 lines
722 B
Diff

diff --git a/src/HConfig.h.in b/src/HConfig.h.in
index 652f6651f..62b81f83c 100644
--- a/src/HConfig.h.in
+++ b/src/HConfig.h.in
@@ -4,7 +4,7 @@
#cmakedefine FAST_BUILD
#cmakedefine ZLIB_FOUND
#cmakedefine CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
-#cmakedefine CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
+#cmakedefine CMAKE_INSTALL_PREFIX ""
#cmakedefine HIGHSINT64
#cmakedefine HIGHS_HAVE_MM_PAUSE
#cmakedefine HIGHS_HAVE_BUILTIN_CLZ
@@ -15,6 +15,6 @@
#define HIGHS_VERSION_MAJOR @HIGHS_VERSION_MAJOR@
#define HIGHS_VERSION_MINOR @HIGHS_VERSION_MINOR@
#define HIGHS_VERSION_PATCH @HIGHS_VERSION_PATCH@
-#define HIGHS_DIR "@CMAKE_SOURCE_DIR@"
+#define HIGHS_DIR ""
#endif /* HCONFIG_H_ */