Jump to content

faramir118_

Members
  • Posts

    35
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything 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.
  3. vi cmake-fix.patch # write contents of my diff and save it git apply cmake-fix.patch # have git apply the changes described by the patch # re-run cmake
  4. Hmm, try this patch: diff --git a/CMakeLists.txt b/CMakeLists.txt index a30019d..e270291 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ cmake_minimum_required(VERSION 2.8) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} - ${CMAKE_SOURCE_DIR}/cmake + "${CMAKE_SOURCE_DIR}/cmake" ) # Force out-of-source build
×
×
  • 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