diff options
Diffstat (limited to 'CMakeModules/distorm3Config.cmake')
| -rw-r--r-- | CMakeModules/distorm3Config.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeModules/distorm3Config.cmake b/CMakeModules/distorm3Config.cmake new file mode 100644 index 0000000..692e5d3 --- /dev/null +++ b/CMakeModules/distorm3Config.cmake @@ -0,0 +1,10 @@ + +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}) |
