mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 21:43:36 -04:00
install export order matters
This commit is contained in:
+5
-4
@@ -128,13 +128,14 @@ if(HIDAPI_INSTALL_TARGETS)
|
||||
INSTALL_DESTINATION "${EXPORT_DESTINATION}"
|
||||
NO_SET_AND_CHECK_MACRO
|
||||
)
|
||||
|
||||
install(EXPORT hidapi
|
||||
DESTINATION "${EXPORT_DESTINATION}"
|
||||
NAMESPACE hidapi::
|
||||
)
|
||||
install(FILES
|
||||
"${EXPORT_DENERATED_LOCATION}/hidapi-config-version.cmake"
|
||||
"${EXPORT_DENERATED_LOCATION}/hidapi-config.cmake"
|
||||
DESTINATION "${EXPORT_DESTINATION}"
|
||||
)
|
||||
install(EXPORT hidapi
|
||||
DESTINATION "${EXPORT_DESTINATION}"
|
||||
NAMESPACE hidapi::
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user