the second param of enable_launage() is not used, we should call it
multiple times to enable more than one language. switch to project()
command for simplicity.
Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake_minimum_required(VERSION 2.8.11)
-project(ceph)
+project(ceph CXX C ASM)
set(VERSION 12.1.2)
if(POLICY CMP0046)
include(GetGitRevisionDescription)
-enable_language(C ASM)
include(GNUInstallDirs)
# for erasure and compressor plugins
set(CMAKE_INSTALL_PKGLIBDIR ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME})