Jump to content

faramir118_

Members
  • Posts

    35
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by faramir118_

  1. Trinity's cmake config is different (more comprehensive), and not a good test for mangos.

    Something seems wrong if the exact same thing happens to you on two different platforms... it should be able to find cmake/FindPlatform.cmake just fine

    Can you send me the output of the following:

    cd ~
    pwd
    mkdir mangos
    cd mangos
    mkdir bin
    git clone git://github.com/mangos/server.git
    cd server
    mkdir build
    cd build
    cmake .. -DPREFIX=~/mangos/bin
    

  2. Yes, it quotes the file path so that cmake doesn't have issues when your mangos directory has spaces in the path

    In CMakeLists.txt, there is a directive that tells cmake to find and require the Platform module:

    find_package(Platform REQUIRED)

    There is a FindPlatform.cmake file in the cmake directory that initializes the PLATFORM variable for cmake, which find_package should be able to find - or some reason, your system can't.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use