peteb / tankage

Multiplayer 2D tank game; drive around in a mutable world together with friends
10 stars 2 forks source link

Running "cmake ." in src results in missing modules #15

Closed peteb closed 13 years ago

peteb commented 13 years ago

CMake Error at CMakeLists.txt:36 (find_package):
  Could not find module FindCocoa.cmake or a configuration file for package
  Cocoa.

  Adjust CMAKE_MODULE_PATH to find FindCocoa.cmake or set Cocoa_DIR to the
  directory containing a CMake configuration file for Cocoa.  The file will
  have one of the following names:

    CocoaConfig.cmake
    cocoa-config.cmake

CMake Error at CMakeLists.txt:47 (find_package):
  Could not find module Findglfw.cmake or a configuration file for package
  glfw.

  Adjust CMAKE_MODULE_PATH to find Findglfw.cmake or set glfw_DIR to the
  directory containing a CMake configuration file for glfw.  The file will
  have one of the following names:

    glfwConfig.cmake
    glfw-config.cmake

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
kskels commented 13 years ago

At first look I couldn't fin a nice way to fix this. One way is to check for some variable at the beginning of the build file and return if it's not set. But it still generates all the CMake cache files and doesn't look nice. I will add a task to investigate and make it nice if possible :)

peteb commented 13 years ago

Okay, great :) I'm closing this issue.