mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[build] Simplify the CMake install
This commit is contained in:
parent
51f7888ca7
commit
be90897fd2
|
@ -231,12 +231,7 @@ source_group( "" FILES ${SOURCE_GROUP_TOPLEVEL})
|
|||
|
||||
install(FILES ${PROJECT_SOURCE_DIR}/src/uvg266.pc DESTINATION ${UVG266_INSTALL_LIBDIR}/pkgconfig)
|
||||
install(TARGETS uvg266-bin DESTINATION ${UVG266_INSTALL_BINDIR})
|
||||
install(TARGETS uvg266 DESTINATION ${UVG266_INSTALL_LIBDIR})
|
||||
if(BUILD_SHARED_LIBS) # Just add the lib to the bin directory for now
|
||||
if(MSVC)
|
||||
install(TARGETS uvg266 DESTINATION ${UVG266_INSTALL_BINDIR})
|
||||
endif()
|
||||
endif()
|
||||
install(TARGETS uvg266 ARCHIVE DESTINATION "${UVG266_INSTALL_LIBDIR}" LIBRARY DESTINATION "${UVG266_INSTALL_LIBDIR}" RUNTIME DESTINATION "${UVG266_INSTALL_BINDIR}")
|
||||
install(FILES ${PROJECT_SOURCE_DIR}/src/uvg266.h DESTINATION ${UVG266_INSTALL_INCLUDEDIR})
|
||||
install(FILES ${PROJECT_SOURCE_DIR}/doc/uvg266.1 DESTINATION ${UVG266_INSTALL_MANDIR})
|
||||
|
||||
|
|
Loading…
Reference in a new issue