# Required Vars:
# ${_libName}
SET( LIB_NAME ${_libName} )

SET( INSTALL_INCDIR include )
SET( INSTALL_BINDIR bin )
IF( WIN32 )
    SET( INSTALL_LIBDIR bin )
    SET( INSTALL_ARCHIVEDIR lib )
ELSE()
    SET( INSTALL_LIBDIR lib${LIB_POSTFIX} )
    SET( INSTALL_ARCHIVEDIR lib${LIB_POSTFIX} )
ENDIF()

install(
    TARGETS ${LIB_NAME}
    EXPORT libprc-targets
    RUNTIME DESTINATION ${INSTALL_BINDIR} COMPONENT libprc
    LIBRARY DESTINATION ${INSTALL_LIBDIR} COMPONENT libprc
    ARCHIVE DESTINATION ${INSTALL_ARCHIVEDIR} COMPONENT libprc-dev
)
