"${PROJECT_BINARY_DIR}/LibwebsocketsConfigVersion.cmake"
DESTINATION "${LWS_INSTALL_CMAKE_DIR}" COMPONENT dev)
+# Install exports for the install-tree.
+install(EXPORT LibwebsocketsTargets
+ DESTINATION "${LWS_INSTALL_CMAKE_DIR}" COMPONENT dev)
+
# build subdir is not part of sources
set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz" "tar.gz")
Name: libwebsockets
Version: 1.7.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Websocket Server and Client Library
Group: System Environment/Libraries
/%{_libdir}/libwebsockets.so
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
+/%{_libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake
/usr/share/libwebsockets-test-server
%doc
%files devel
/%{_libdir}/pkgconfig/libwebsockets.pc
%changelog
+* Tue Mar 29 2016 Andy Green <andy@warmcat.com> 1.7.4-2
+- MINOR added LibwebsocketsTargets.cmake
+
* Mon Mar 22 2016 Andy Green <andy@warmcat.com> 1.7.4-1
- MINOR fixes Upstream 1.7.4 release (see changelog)