mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 15:19:03 +08:00
721de0cbbc
* [tinyfiledialogs] export cmake config * [tinyfiledialogs] upgrade to 3.3.8
28 lines
717 B
CMake
28 lines
717 B
CMake
cmake_minimum_required(VERSION 3.4)
|
|
project(tinyfiledialogs C)
|
|
|
|
add_library(tinyfiledialogs tinyfiledialogs.c)
|
|
|
|
install(
|
|
TARGETS tinyfiledialogs
|
|
EXPORT tinyfiledialogsConfig
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
)
|
|
install(
|
|
FILES tinyfiledialogs.h
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/tinyfiledialogs"
|
|
)
|
|
|
|
export(
|
|
TARGETS tinyfiledialogs
|
|
NAMESPACE tinyfiledialogs::
|
|
FILE "${CMAKE_CURRENT_BINARY_DIR}/tinyfiledialogsConfig.cmake"
|
|
)
|
|
install(
|
|
EXPORT tinyfiledialogsConfig
|
|
NAMESPACE tinyfiledialogs::
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/tinyfiledialogs"
|
|
)
|