faramir118_
-
Posts
35 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by faramir118_
-
-
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.
-
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
-
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
[solved] Problem compiling mangos with cmake and Mac and Mint 13?!
in Wiki Articles
Posted
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: