Skip to content

Commit

Permalink
Revert "[wt] Fix absolute paths in installed share/wt/*.cmake files (#…
Browse files Browse the repository at this point in the history
…5083)" (#5555)

This reverts commit 334eb17.
  • Loading branch information
vicroms authored Mar 5, 2019
1 parent 334eb17 commit e8f643f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion ports/wt/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: wt
Version: 4.0.5-1
Version: 4.0.5
Description: Wt is a C++ library for developing web applications
Build-Depends: openssl, sqlite3, libpq, pango, glew, boost-date-time, boost-regex, boost-program-options, boost-signals, boost-system, boost-filesystem, boost-thread, boost-random, boost-multi-index, boost-signals2, boost-asio, boost-ublas, boost-conversion, boost-array, boost-smart-ptr, boost-tuple, boost-algorithm, boost-logic, boost-interprocess
8 changes: 0 additions & 8 deletions ports/wt/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ vcpkg_install_cmake()

vcpkg_fixup_cmake_targets(CONFIG_PATH share/wt)

# Fix absolute paths.
file(GLOB CMAKE_FILES ${CURRENT_PACKAGES_DIR}/share/wt/*.cmake)
foreach(CMAKE_FILE ${CMAKE_FILES})
file(READ ${CMAKE_FILE} _contents)
string(REPLACE "${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}" "\${_IMPORT_PREFIX}" _contents "${_contents}")
file(WRITE ${CMAKE_FILE} "${_contents}")
endforeach()

# There is no way to suppress installation of the headers and resource files in debug build.
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)

Expand Down

0 comments on commit e8f643f

Please sign in to comment.