1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-14 03:37:16 +01:00
SqMod/module/Vendor/SimpleIni/CMakeLists.txt
2020-08-19 16:49:45 +03:00

13 lines
385 B
CMake

# Create the SimpleINI library
add_library(SimpleINI STATIC
include/ConvertUTF.h
include/SimpleIni.h
ConvertUTF.cpp
)
# Configure include folders
target_include_directories(SimpleINI PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(SimpleINI PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Enable LTO
if (LTO_ENABLED)
target_link_libraries(SimpleINI PRIVATE -flto)
endif()