mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Get rid of interface libraries to keep cmake requirements low.
This commit is contained in:
parent
feb1652c83
commit
0d21b92bb0
7
module/Vendor/TinyDir/CMakeLists.txt
vendored
7
module/Vendor/TinyDir/CMakeLists.txt
vendored
@ -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
1
module/Vendor/TinyDir/tinydir.c
vendored
Normal file
@ -0,0 +1 @@
|
||||
#include <tinydir.h>
|
Loading…
Reference in New Issue
Block a user