Skip to content

[bug] MacOS bundle destination path is not set #3344

@paulocoutinhox

Description

@paulocoutinhox

Hi,

When build for iOS im getting error that cmake macos bundle destination path is not set.

CMake Error at source_subfolder/ActiveRecord/Compiler/CMakeLists.txt:19 (install):
  install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
  target "ActiveRecordCompiler".

The solution is set more one path for each runtime path:

RUNTIME DESTINATION bin

the lines:

RUNTIME DESTINATION bin
BUNDLE DESTINATION bin

This is required for newer cmake versions and there is a lot of CMakeLists.txt files to be changed.

Can you fix it for new version?

Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions