From cb2d64d351b22cf32254a0781634a107b01488f4 Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Mon, 1 Oct 2018 16:58:08 +1000 Subject: Rename top-level header, fix CMakeLists target Signed-off-by: Mark Farrugia --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9af162f..68e817a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,11 +22,9 @@ # LIBAVIRT CONFIGURATION LIBRARY #------------------------------------------------------------------------------- -# Defines -add_definitions(-D_GNU_SOURCE) - # Target -add_library(avirt STATIC src/avirt_*.c) +file(GLOB SOURCE_FILES "src/avirt-*.c") +add_library(avirt STATIC ${SOURCE_FILES}) # Target includes target_include_directories(avirt PUBLIC include) -- cgit 1.2.3-korg