mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
|
--- pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt~ 2020-07-17 10:51:14.498291075 +0200
|
||
|
+++ pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt 2020-07-17 10:52:20.165336508 +0200
|
||
|
@@ -46,47 +46,6 @@
|
||
|
set(EXE_EXT "")
|
||
|
endif()
|
||
|
|
||
|
-set(TOOLS_PATH "${_qt5Core_install_prefix}/bin")
|
||
|
-set(UIC_PATH "${TOOLS_PATH}/uic${EXE_EXT}")
|
||
|
-set(RCC_PATH "${TOOLS_PATH}/rcc${EXE_EXT}")
|
||
|
-if (APPLE)
|
||
|
- set(DESIGNER_PATH "${TOOLS_PATH}/Designer.app")
|
||
|
-else()
|
||
|
- set(DESIGNER_PATH "${TOOLS_PATH}/designer${EXE_EXT}")
|
||
|
-endif()
|
||
|
-
|
||
|
-install(FILES "${UIC_PATH}"
|
||
|
- DESTINATION bin
|
||
|
- PERMISSIONS
|
||
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
||
|
- GROUP_EXECUTE GROUP_READ
|
||
|
- WORLD_EXECUTE WORLD_READ)
|
||
|
-
|
||
|
-install(FILES "${RCC_PATH}"
|
||
|
- DESTINATION bin
|
||
|
- PERMISSIONS
|
||
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
||
|
- GROUP_EXECUTE GROUP_READ
|
||
|
- WORLD_EXECUTE WORLD_READ)
|
||
|
-
|
||
|
-if (EXISTS ${DESIGNER_PATH})
|
||
|
- if (APPLE)
|
||
|
- install(DIRECTORY "${DESIGNER_PATH}"
|
||
|
- DESTINATION bin
|
||
|
- FILE_PERMISSIONS
|
||
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
||
|
- GROUP_EXECUTE GROUP_READ
|
||
|
- WORLD_EXECUTE WORLD_READ)
|
||
|
- else()
|
||
|
- install(FILES "${DESIGNER_PATH}"
|
||
|
- DESTINATION bin
|
||
|
- PERMISSIONS
|
||
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
||
|
- GROUP_EXECUTE GROUP_READ
|
||
|
- WORLD_EXECUTE WORLD_READ)
|
||
|
- endif()
|
||
|
-endif()
|
||
|
-
|
||
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||
|
IMMEDIATE @ONLY)
|