Merge pull request #461 from saboorian/master
fix(cmake): install_manifest has a .txt extension
This commit is contained in:
commit
57d98d6767
@ -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})
|
if(NOT EXISTS ${INSTALL_MANIFEST})
|
||||||
message(FATAL_ERROR "Cannot find install manifest: ${INSTALL_MANIFEST}")
|
message(FATAL_ERROR "Cannot find install manifest: ${INSTALL_MANIFEST}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest" files)
|
file(READ ${INSTALL_MANIFEST} files)
|
||||||
string(REGEX REPLACE "\n" ";" files "${files}")
|
string(REGEX REPLACE "\n" ";" files "${files}")
|
||||||
list(REVERSE files)
|
list(REVERSE files)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user