NOISSUE add back qt.conf on macOS
Looks like it doesn't start without this magical empty file. Who would have guessed? Not me.
This commit is contained in:
		| @@ -348,6 +348,12 @@ if(MultiMC_LAYOUT_REAL STREQUAL "mac-bundle") | |||||||
|  |  | ||||||
| 	# Add the icon | 	# Add the icon | ||||||
| 	install(FILES resources/MultiMC.icns DESTINATION ${RESOURCES_DEST_DIR}) | 	install(FILES resources/MultiMC.icns DESTINATION ${RESOURCES_DEST_DIR}) | ||||||
|  |  | ||||||
|  | 	# Add qt.conf - because for some reason, an empty file is needed to make things work on macOS | ||||||
|  | 	install( | ||||||
|  | 		CODE "file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${RESOURCES_DEST_DIR}/qt.conf\" \"\")" | ||||||
|  | 		COMPONENT Runtime | ||||||
|  | 	) | ||||||
| elseif(MultiMC_LAYOUT_REAL STREQUAL "lin-bundle") | elseif(MultiMC_LAYOUT_REAL STREQUAL "lin-bundle") | ||||||
| 	set(BINARY_DEST_DIR "bin") | 	set(BINARY_DEST_DIR "bin") | ||||||
| 	set(LIBRARY_DEST_DIR "bin") | 	set(LIBRARY_DEST_DIR "bin") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek