Fixing compiling with normal user permissions

This should enable compiling things on macOS without resorting to use sudo before cmake --build build --target install.
This commit is contained in:
dob205
2021-11-10 11:13:10 +01:00
committed by GitHub
parent 99097d5555
commit 23b01383e0

View File

@@ -173,10 +173,6 @@ endif()
# adjustments for macOS app bundles
if(APPLE)
install(TARGETS 86Box
BUNDLE DESTINATION . COMPONENT Runtime
RUNTIME DESTINATION bin COMPONENT Runtime
)
set(APPS ${CMAKE_CURRENT_BINARY_DIR}/86Box.app)
install(CODE "
include(InstallRequiredSystemLibraries)