mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:19:07 +08:00
39b46237e4
* add detours usage * detours x-add-version
8 lines
273 B
Plaintext
8 lines
273 B
Plaintext
detours can be used from CMake via:
|
|
|
|
find_path(DETOURS_INCLUDE_DIRS "detours/detours.h")
|
|
find_library(DETOURS_LIBRARY detours REQUIRED)
|
|
|
|
target_include_directories(main PRIVATE ${DETOURS_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${DETOURS_LIBRARY})
|