mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-30 14:40:24 +00:00
[dlib] Remove patch now fixed correctly by vcpkg_fix_cmake_targets (#5559)
This commit is contained in:
parent
6a5056773a
commit
ed98d74199
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user