diff options
author | John Levon <john.levon@nutanix.com> | 2020-12-15 10:38:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 10:38:09 +0000 |
commit | 3148a598f4ac0711d2f46ef9186e51a4779f1bf1 (patch) | |
tree | 6215bb4e60ee0d4f8785692694990791ee9141f9 /CMakeLists.txt | |
parent | 1e9ce657a5050d56d48ac702afb9116efc5691d3 (diff) | |
download | libvfio-user-3148a598f4ac0711d2f46ef9186e51a4779f1bf1.zip libvfio-user-3148a598f4ac0711d2f46ef9186e51a4779f1bf1.tar.gz libvfio-user-3148a598f4ac0711d2f46ef9186e51a4779f1bf1.tar.bz2 |
add CentOS 7 build to github pull_request workflow (#194)
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b13c326..4b1b0b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,11 @@ # cmake_minimum_required (VERSION 2.6) -project(libvfio-user) +if (CMAKE_MAJOR_VERSION LESS 3) + project(libvfio-user C) +else() + project(libvfio-user LANGUAGES C) +endif() include(GNUInstallDirs) find_package(PkgConfig REQUIRED) |