DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.59k stars 552 forks source link

Fix CMake warning in runmulti.cmake #6649

Closed derekbruening closed 5 months ago

derekbruening commented 5 months ago

Fixes this warning in runmulti.cmake:

CMake Warning (dev) at suite/tests/runmulti.cmake:104 (if): if given arguments:

  "NOT" "ON" "OR" "NOT" "precmd" "STREQUAL" "" "AND" "NOT" "globempty"

An argument named "ON" appears in a conditional statement.  Policy CMP0012
is not set: if() recognizes numbers and boolean constants.  Run "cmake
--help-policy CMP0012" for policy details.  Use the cmake_policy command to
set the policy and suppress this warning.
derekbruening commented 5 months ago

Failure is drcachesim.threads type_is_instr assert #3320