aboutsummaryrefslogtreecommitdiff
path: root/ports/dlib
diff options
context:
space:
mode:
authorQi-rui Chen <Qi-rui.Chen.2015@my.bristol.ac.uk>2018-07-03 12:41:53 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-07-03 04:41:53 -0700
commit98e8c22eafc42d0e3b91a005973b49578e0fe14f (patch)
tree1091f215ff199917e2dc01cb01f1b01ce174fd63 /ports/dlib
parentfae4bd406ad40dfd7e5bc5f935816295337c4254 (diff)
downloadvcpkg-98e8c22eafc42d0e3b91a005973b49578e0fe14f.tar.gz
vcpkg-98e8c22eafc42d0e3b91a005973b49578e0fe14f.zip
Fix glfw3:x64-linux producing incorrect target (#3803)
* Fix glfw3 creating incorrect target glfw3Target.cmake uses a semicolon seperated list which needs to be escaped with quotes on write * Fix semicolon stripping * Fix typo * [dlib][glfw3][libodb][signalrclient] Bump versions
Diffstat (limited to 'ports/dlib')
-rw-r--r--ports/dlib/CONTROL2
-rw-r--r--ports/dlib/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/dlib/CONTROL b/ports/dlib/CONTROL
index 1a152168d..d8cb57138 100644
--- a/ports/dlib/CONTROL
+++ b/ports/dlib/CONTROL
@@ -1,5 +1,5 @@
Source: dlib
-Version: 19.13
+Version: 19.13-1
Build-Depends: libjpeg-turbo, libpng, sqlite3, fftw3, openblas, clapack
Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
diff --git a/ports/dlib/portfile.cmake b/ports/dlib/portfile.cmake
index 4629cd9c2..977a18cea 100644
--- a/ports/dlib/portfile.cmake
+++ b/ports/dlib/portfile.cmake
@@ -69,7 +69,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/dlib/external/libpng/arm)
file(READ ${CURRENT_PACKAGES_DIR}/include/dlib/config.h _contents)
string(REPLACE "/* #undef ENABLE_ASSERTS */" "#if defined(_DEBUG)\n#define ENABLE_ASSERTS\n#endif" _contents ${_contents})
string(REPLACE "#define DLIB_DISABLE_ASSERTS" "#if !defined(_DEBUG)\n#define DLIB_DISABLE_ASSERTS\n#endif" _contents ${_contents})
-file(WRITE ${CURRENT_PACKAGES_DIR}/include/dlib/config.h ${_contents})
+file(WRITE ${CURRENT_PACKAGES_DIR}/include/dlib/config.h "${_contents}")
file(READ ${CURRENT_PACKAGES_DIR}/share/dlib/dlib.cmake _contents)
string(REPLACE