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:
@@ -173,10 +173,6 @@ endif()
|
|||||||
|
|
||||||
# adjustments for macOS app bundles
|
# adjustments for macOS app bundles
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
install(TARGETS 86Box
|
|
||||||
BUNDLE DESTINATION . COMPONENT Runtime
|
|
||||||
RUNTIME DESTINATION bin COMPONENT Runtime
|
|
||||||
)
|
|
||||||
set(APPS ${CMAKE_CURRENT_BINARY_DIR}/86Box.app)
|
set(APPS ${CMAKE_CURRENT_BINARY_DIR}/86Box.app)
|
||||||
install(CODE "
|
install(CODE "
|
||||||
include(InstallRequiredSystemLibraries)
|
include(InstallRequiredSystemLibraries)
|
||||||
|
Reference in New Issue
Block a user