1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-12 18:57:16 +01:00
SqMod/module/Vendor/TinyDir/CMakeLists.txt

9 lines
337 B
CMake
Raw Normal View History

# Create the TinyDir library
add_library(TinyDir STATIC include/tinydir.h tinydir.c)
# Library includes
target_include_directories(TinyDir PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(TinyDir PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
2020-08-19 15:49:45 +02:00
# Enable LTO
if (LTO_ENABLED)
target_link_libraries(TinyDir PRIVATE -flto)
endif()