File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ set(CMP0090 NEW)
66export (
77 TARGETS libzsync2
88 NAMESPACE zsync2::
9- FILE libzsync2Targets .cmake
9+ FILE zsync2Targets .cmake
1010)
1111
1212# allow import from install tree
1313# note that the targets must be install(... EXPORT zsync) in order for this to work (consider libzsync2 a namespace)
1414install (
15- EXPORT libzsync2
15+ EXPORT zsync2Targets
1616 DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/zsync2
1717)
1818
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ target_link_libraries(zsyncmake2 PRIVATE cpr)
5858# install targets
5959install (
6060 TARGETS libzsync2
61- EXPORT libzsync2
61+ EXPORT zsync2Targets
6262 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
6363 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
6464 PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
You can’t perform that action at this time.
0 commit comments