From 4fde8121568a9955ee265fd3347088c03e06ac76 Mon Sep 17 00:00:00 2001 From: Hugo Schmitt Date: Tue, 7 Jun 2016 16:09:03 -0300 Subject: [PATCH] Cmake 2.8.12 doesn't understand LANGUAGES keyword Fortunately we can just use project(libui) since C and CPP are the languages enabled by default. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 262af94f..72bf3fed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE DEBUG CACHE STRING "" FORCE) endif() -project(libui LANGUAGES C CXX) +project(libui) option(BUILD_SHARED_LIBS "Whether to build libui as a shared library or a static library" ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/out")