Skip to content

Error: Darwin.cmake not found when building on macOS #262

@M0REKZ

Description

@M0REKZ

When i tried to build sonic mania from https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation it failed with

Details `CMake Error at dependencies/RSDKv5/CMakeLists.txt:66 (include): include could not find requested file:
platforms/Darwin.cmake

CMake Error at dependencies/RSDKv5/CMakeLists.txt:71 (set_target_properties):
set_target_properties Can not find target to add properties to: RetroEngine

CMake Error at dependencies/RSDKv5/CMakeLists.txt:76 (set_target_properties):
set_target_properties Can not find target to add properties to: RetroEngine

CMake Error at dependencies/RSDKv5/CMakeLists.txt:134 (target_include_directories):
Cannot specify include directories for target "RetroEngine" which is not
built by this project.

CMake Error at dependencies/RSDKv5/CMakeLists.txt:151 (target_compile_definitions):
Cannot specify compile definitions for target "RetroEngine" which is not
built by this project.

CMake Error at dependencies/RSDKv5/CMakeLists.txt:168 (add_custom_command):
No TARGET 'RetroEngine' has been created in this directory.

-- Configuring incomplete, errors occurred!`

looks like darwin.cmake does not exist on this repo

Since the bug comes at cmakelists file from here, im creating the issue here

macOS 14.4.1
-cloned sonic mania repo with git clone --recursive

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions