arduino-cmake installation

I am trying to use arduino-cmake (see here) to compile a project. I am using the blink.cpp file as a sample. Here is my directory structure:

blink.cpp CakeLists.txt build/

in the build directory, I execute

cmake ..

and get the following error (CMakeFiles/CMakeOutput.log does not mention the error):

How can I get the "Invalid Arduino Board" message to go away? This compiles fine with the IDE. Thanks.

-- Generating blink_test
CMake Error at /tmp/arduino-cmake/cmake/Platform/Arduino.cmake:830 (message):
  Invalid Arduino board ID (uno), aborting.
Call Stack (most recent call first):
  /tmp/arduino-cmake/cmake/Platform/Arduino.cmake:1071 (get_arduino_flags)
  /tmp/arduino-cmake/cmake/Platform/Arduino.cmake:516 (setup_arduino_target)
  CMakeLists.txt:5 (generate_arduino_firmware)


-- Configuring incomplete, errors occurred!
See also "/tmp/test/build/CMakeFiles/CMakeOutput.log".

blink.cpp

#include "Arduino.h"
#include "Arduino.h"

// LED connected to digital pin 13
const int PIN13 = 13;

void setup()
{
    // sets the digital pin as output
    pinMode(PIN13, OUTPUT);
}

void loop()
{
    // Set LED on, wait a second, turn LED off
    // then wait one more second
    digitalWrite(PIN13, HIGH);
    delay(1000);
    digitalWrite(PIN13, LOW);
    delay(1000);
}

CMakeLists.txt

set(CMAKE_TOOLCHAIN_FILE /tmp/arduino-cmake/cmake/ArduinoToolchain.cmake)
cmake_minimum_required(VERSION 2.8)
project(Test C CXX)
set(ARDUINO_DEFAULT_PORT /dev/ttyACM0) # Default Port
generate_arduino_firmware(blink_test SRCS blink.cpp)

Hello ! I've got the same error, did you figure it out ?

I've managed to make things work using fork https://github.com/altexdim/arduino-cmake. My configuration is MacOS El Capitan + Arduino 1.6.5 + CLion 1.1 + bundled cmake (3.3.0) + Arduino UNO. This fork provides detailed description how to setup project using JetBrains CLion IDE, english readme is at https://github.com/altexdim/arduino-cmake/blob/master/README.english.txt