@@ -37,3 +37,7 @@ if( UNITTEST ) | |||
add_subdirectory("test") | |||
endif() | |||
include(Install) | |||
@@ -0,0 +1,10 @@ | |||
include(GNUInstallDirs) | |||
install(TARGETS ScopeGuard | |||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | |||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | |||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | |||
) | |||