mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-10 20:36:00 -05:00
CMake: Apply editorconfig formatting
This commit is contained in:
@@ -7,11 +7,11 @@ include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(HIDAPI DEFAULT_MSG HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR)
|
||||
|
||||
if(HIDAPI_FOUND AND NOT TARGET Hidapi::Hidapi)
|
||||
add_library(Hidapi::Hidapi UNKNOWN IMPORTED)
|
||||
set_target_properties(Hidapi::Hidapi PROPERTIES
|
||||
IMPORTED_LOCATION ${HIDAPI_LIBRARIES}
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${HIDAPI_INCLUDE_DIRS}
|
||||
)
|
||||
add_library(Hidapi::Hidapi UNKNOWN IMPORTED)
|
||||
set_target_properties(Hidapi::Hidapi PROPERTIES
|
||||
IMPORTED_LOCATION ${HIDAPI_LIBRARIES}
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${HIDAPI_INCLUDE_DIRS}
|
||||
)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(HIDAPI_INCLUDE_DIR HIDAPI_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user