add_library(distorm3 UNKNOWN IMPORTED) find_library(distorm3_LIBRARY NAMES "distorm3") set_property(TARGET distorm3 PROPERTY IMPORTED_LOCATION "${distorm3_LIBRARY}") find_path(distorm3_INCLUDE_DIR NAMES "distorm.h") set_property(TARGET distorm3 PROPERTY INCLUDE_DIRECTORIES ${distorm3_INCLUDE_DIR})