2024-01-29 03:24:33 +08:00
|
|
|
|
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
|
|
|
|
|
set(Detours ${CMAKE_CURRENT_LIST_DIR}/Detours-4.0.1/lib.X64/detours.lib)
|
|
|
|
|
else()
|
|
|
|
|
set(Detours ${CMAKE_CURRENT_LIST_DIR}/Detours-4.0.1/lib.X86/detours.lib)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR}/Detours-4.0.1/include)
|
|
|
|
|
|
2024-02-28 14:20:25 +08:00
|
|
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/minhook)
|
2024-01-29 03:24:33 +08:00
|
|
|
|
|
|
|
|
|
if(${CMAKE_SIZEOF_VOID_P} EQUAL 4)
|
|
|
|
|
set(LTLPlatform "Win32")
|
|
|
|
|
endif()
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/VC-LTL helper for cmake.cmake")
|