aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Warren <s.warren@garvan.org.au>2019-03-06 17:01:15 +1100
committerVictor Romero <romerosanchezv@gmail.com>2019-03-05 22:01:15 -0800
commited98d74199af861c19fdf2ee812aba14409d5eb2 (patch)
tree7606ea7c7da02e26bf09f1250fbcf7b34622c3e3
parent6a5056773a938daa1195698839074a8b57bb0b80 (diff)
downloadvcpkg-ed98d74199af861c19fdf2ee812aba14409d5eb2.tar.gz
vcpkg-ed98d74199af861c19fdf2ee812aba14409d5eb2.zip
[dlib] Remove patch now fixed correctly by vcpkg_fix_cmake_targets (#5559)
-rw-r--r--ports/dlib/portfile.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/ports/dlib/portfile.cmake b/ports/dlib/portfile.cmake
index 427de4a8d..ebfd00766 100644
--- a/ports/dlib/portfile.cmake
+++ b/ports/dlib/portfile.cmake
@@ -76,13 +76,6 @@ string(REPLACE "/* #undef ENABLE_ASSERTS */" "#if defined(_DEBUG)\n#define ENABL
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(READ ${CURRENT_PACKAGES_DIR}/share/dlib/dlib.cmake _contents)
-string(REPLACE
- "get_filename_component(_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
- "get_filename_component(_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)"
- _contents "${_contents}")
-file(WRITE ${CURRENT_PACKAGES_DIR}/share/dlib/dlib.cmake "${_contents}")
-
# Handle copyright
file(COPY ${SOURCE_PATH}/dlib/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/dlib)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/dlib/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/dlib/COPYRIGHT)