pineapple-src/externals/vcpkg/ports/inih/CMakeLists.txt

16 lines
277 B
CMake
Raw Normal View History

2022-07-22 21:01:36 -04:00
project(inih)
set(SOURCES ini.c cpp/INIReader.cpp)
set(HEADERS ini.h cpp/INIReader.h)
add_library(inih ${SOURCES})
install(
TARGETS inih
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install(FILES ${HEADERS} DESTINATION include)