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.
This commit is contained in:
Hugo Schmitt 2016-06-07 16:09:03 -03:00
parent 3e1258cc62
commit 4fde812156
1 changed files with 1 additions and 1 deletions

View File

@ -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")