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

9 lines
345 B
CMake
Raw Normal View History

2020-03-21 21:00:02 +01:00
# Create the B64Lib library
add_library(B64Lib STATIC include/b64.h decode.c encode.c)
2020-03-21 21:00:02 +01:00
# Configure include folders
target_include_directories(B64Lib PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(B64Lib PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
2020-08-19 15:49:45 +02:00
# Enable LTO
if (LTO_ENABLED)
target_link_libraries(B64Lib PRIVATE -flto)
endif()