maa: hide and rename internal maa functions
[contrib/mraa.git] / CMakeLists.txt
index 23b6394..57d8aed 100644 (file)
@@ -1,6 +1,8 @@
 cmake_minimum_required (VERSION 2.8)
 project (maa)
 
+FIND_PACKAGE (Threads)
+
 set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
 set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall")
 
@@ -12,7 +14,7 @@ include (GetGitRevisionDescription)
 git_describe (VERSION "--tags")
 if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND")
   message (WARNING " - Install git to compile a production libmaa!")
-  set (VERSION "v0.2.2-dirty")
+  set (VERSION "v0.2.5-dirty")
 endif ()
 
 message (INFO " - MAA Version ${VERSION}")
@@ -35,7 +37,7 @@ set (maa_VERSION_STRING ${maa_VERSION_MAJOR}.${maa_VERSION_MINOR}.${maa_VERSION_
 
 set (CMAKE_SWIG_FLAGS "")
 
-option (test "Build all tests." OFF)
+option (GTEST "Build all gtests." OFF)
 
 if (test)
   enable_testing ()