CMake: Improve installation on Linux
Install setup header, wx-config and wxrc. Make wx-config executable. Add renamed files and symbolic links to uninstall target.
This commit is contained in:
@@ -13,6 +13,7 @@ endif()
|
||||
|
||||
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||
string(REGEX REPLACE "\n" ";" files "${files}")
|
||||
list(APPEND files @WX_EXTRA_UNINSTALL_FILES@)
|
||||
foreach(file ${files})
|
||||
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
|
||||
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
||||
|
Reference in New Issue
Block a user