From 098402147070d93ef5f283eb9cc8bab71d370c64 Mon Sep 17 00:00:00 2001 From: Christopher Kohnert Date: Thu, 1 Jun 2017 11:38:02 -0700 Subject: [PATCH] =?UTF-8?q?Include=20the=20extra=20library=20headers=20and?= =?UTF-8?q?=20skip=20the=20=E2=80=9Cinclude=E2=80=9D=20gagging=20during=20?= =?UTF-8?q?folderization.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33dedfe..98342cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,6 @@ function(folderize_sources sources prefix) # skip src or include and changes /'s to \\'s string(REPLACE "${prefix}" "" GROUP "${PARENT_DIR}") - string(REGEX REPLACE "(\\./)?(src|include)/?" "" GROUP "${GROUP}") string(REPLACE "/" "\\" GROUP "${GROUP}") # If it's got a path, then append a "\\" separator (otherwise leave it blank) @@ -52,7 +51,9 @@ endfunction(folderize_sources) file(GLOB_RECURSE msdfgen_HEADERS "core/*.h" "lib/*.h" - "ext/*.h") + "ext/*.h" + "include/*.h" +) file(GLOB_RECURSE msdfgen_SOURCES "core/*.cpp"