Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running cmake #2

Open
fabianmossberg opened this issue Oct 27, 2020 · 0 comments
Open

Error when running cmake #2

fabianmossberg opened this issue Oct 27, 2020 · 0 comments

Comments

@fabianmossberg
Copy link

fabianmossberg commented Oct 27, 2020

I have followed the instructions and installed all the dependencies, but I get the following error when i do a CMake:

CMake Warning (dev) at /Users/fabian/Documents/mac/Retro68-build/toolchain/m68k-apple-macos/cmake/add_application.cmake:46 (add_executable):
  Policy CMP0003 should be set before this line.  Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
  because target "MacWifiTest" links to some libraries for which the linker
  must search:

    RetroConsole

  and other libraries with known full path:

    /Users/fabian/Documents/mac/MacWifi-build/libMacWifiLib.a

  CMake is adding directories in the second list to the linker search path in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly.  Run "cmake --help-policy CMP0003" for
  more information.
Call Stack (most recent call first):
  CMakeLists.txt:73 (add_application)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/fabian/Documents/mac/MacWifi-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant