From 8c8877df5a648a231619fb9b524c897895f689ff Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Fri, 5 Feb 2016 15:27:49 +0100 Subject: [PATCH] treat format.cc like a header Given that it is required for header only builds it has to be installed too. --- cppformat/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cppformat/CMakeLists.txt b/cppformat/CMakeLists.txt index b33875bc..e895b5de 100644 --- a/cppformat/CMakeLists.txt +++ b/cppformat/CMakeLists.txt @@ -1,7 +1,6 @@ #------------------------------------------------------------------------------ # define the cppformat library, its includes and the needed defines -set(FMT_HEADERS format.h) -set(FMT_SOURCES format.cc) +set(FMT_HEADERS format.h format.cc) if (HAVE_OPEN) set(FMT_HEADERS ${FMT_HEADERS} posix.h) set(FMT_SOURCES ${FMT_SOURCES} posix.cc)