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:
parent
3e1258cc62
commit
4fde812156
|
@ -24,7 +24,7 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE DEBUG CACHE STRING "" FORCE)
|
set(CMAKE_BUILD_TYPE DEBUG CACHE STRING "" FORCE)
|
||||||
endif()
|
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)
|
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")
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/out")
|
||||||
|
|
Loading…
Reference in New Issue