treat format.cc like a header

Given that it is required for header only builds it has to be
installed too.
This commit is contained in:
Mario Werner 2016-02-05 15:27:49 +01:00
parent 754be04f11
commit 8c8877df5a

View File

@ -1,7 +1,6 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# define the cppformat library, its includes and the needed defines # define the cppformat library, its includes and the needed defines
set(FMT_HEADERS format.h) set(FMT_HEADERS format.h format.cc)
set(FMT_SOURCES format.cc)
if (HAVE_OPEN) if (HAVE_OPEN)
set(FMT_HEADERS ${FMT_HEADERS} posix.h) set(FMT_HEADERS ${FMT_HEADERS} posix.h)
set(FMT_SOURCES ${FMT_SOURCES} posix.cc) set(FMT_SOURCES ${FMT_SOURCES} posix.cc)