diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-01 16:58:08 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-30 13:43:40 +1100 |
commit | cb2d64d351b22cf32254a0781634a107b01488f4 (patch) | |
tree | b5e981af3c573e14db3d34abef9cd282cf26f526 /CMakeLists.txt | |
parent | 3424997c580659e5ef7df4c4c70d172c6f9bdcd2 (diff) |
Rename top-level header, fix CMakeLists target
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
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) |