usage (273B)
1 detours can be used from CMake via: 2 3 find_path(DETOURS_INCLUDE_DIRS "detours/detours.h") 4 find_library(DETOURS_LIBRARY detours REQUIRED) 5 6 target_include_directories(main PRIVATE ${DETOURS_INCLUDE_DIRS}) 7 target_link_libraries(main PRIVATE ${DETOURS_LIBRARY})