1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-14 11:47:15 +01:00
SqMod/module/Vendor/SimpleIni/CMakeLists.txt

13 lines
385 B
CMake
Raw Normal View History

# 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)
2020-08-19 15:49:45 +02:00
# Enable LTO
if (LTO_ENABLED)
target_link_libraries(SimpleINI PRIVATE -flto)
endif()