1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Get rid of interface libraries to keep cmake requirements low.

This commit is contained in:
Sandu Liviu Catalin 2020-03-22 18:38:30 +02:00
parent feb1652c83
commit 0d21b92bb0
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,5 @@
# Create the TinyDir library
add_library(TinyDir INTERFACE)
add_library(TinyDir STATIC include/tinydir.h tinydir.c)
# Library includes
target_include_directories(TinyDir INTERFACE ${CMAKE_CURRENT_LIST_DIR})
# Add it's sources
target_sources(TinyDir INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/tinydir.h)
target_include_directories(TinyDir PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(TinyDir PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)

1
module/Vendor/TinyDir/tinydir.c vendored Normal file
View File

@ -0,0 +1 @@
#include <tinydir.h>