1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

install_manifest has a .txt extension

This commit is contained in:
Mohammad Saboorian 2017-02-25 10:54:59 +03:30
parent 90fa9c8230
commit 82dc7c895e

View file

@ -1,9 +1,9 @@
set(INSTALL_MANIFEST "@CMAKE_CURRENT_BINARY_DIR@/install_manifest")
set(INSTALL_MANIFEST "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
if(NOT EXISTS ${INSTALL_MANIFEST})
message(FATAL_ERROR "Cannot find install manifest: ${INSTALL_MANIFEST}")
endif()
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest" files)
file(READ ${INSTALL_MANIFEST} files)
string(REGEX REPLACE "\n" ";" files "${files}")
list(REVERSE files)