Skip to content

Commit c1661f4

Browse files
committed
Add checks for detours compile options in detours test.
1 parent e4d609a commit c1661f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tests/detour_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Check if detours are enabled
2-
if(NOT OPTION_FORK_SAFE)
2+
if(NOT OPTION_FORK_SAFE OR NOT OPTION_BUILD_DETOURS OR NOT OPTION_BUILD_DETOURS_FUNCHOOK)
33
return()
44
endif()
55

0 commit comments

Comments
 (0)