Merge pull request #49 from ckohnert/cmake

Add headers that were missed so they are included in IDE projects.
This commit is contained in:
Viktor Chlumský 2019-04-08 08:28:13 +02:00 committed by GitHub
commit ea5ae7df10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ endfunction(folderize_sources)
file(GLOB_RECURSE msdfgen_HEADERS
"core/*.h"
"core/*.hpp"
"lib/*.h"
"ext/*.h"
"include/*.h"
@ -74,6 +75,6 @@ target_link_libraries(lib_msdfgen ${FREETYPE_LIBRARIES})
# Build the executable
add_executable(msdfgen main.cpp)
add_executable(msdfgen main.cpp msdfgen.h msdfgen-ext.h)
target_compile_definitions(msdfgen PRIVATE MSDFGEN_STANDALONE)
target_link_libraries(msdfgen lib_msdfgen)