mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
parent
14421b6629
commit
62ec2e75f8
@ -277,6 +277,8 @@ endif()
|
||||
# INSTALL
|
||||
# -------
|
||||
|
||||
INCLUDE(GNUInstallDirs)
|
||||
|
||||
if(MSVC)
|
||||
if(CMAKE_CL_64)
|
||||
set(MSVC_FOLDER_PREFIX x64)
|
||||
@ -297,13 +299,13 @@ if(MSVC)
|
||||
|
||||
else(MSVC)
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endif(MSVC)
|
||||
install(FILES include/xlsxwriter.h DESTINATION include)
|
||||
install(DIRECTORY include/xlsxwriter
|
||||
DESTINATION include
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
FILES_MATCHING PATTERN "*.h"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user