syscall_intercept
syscall_intercept copied to clipboard
Missing "NOT" in CMakeLists.txt
https://github.com/pmem/syscall_intercept/blob/ca4b13531f883597c2f04a40e095f76f6c3a6d22/CMakeLists.txt#L39
According to CMake doc, CMAKE_SOURCE_DIR should be the same as CMAKE_BINARY_DIR for an in-source build. Thus, I assume the above line missed a NOT?
After I changed to this, the compile works:
if(NOT ",${CMAKE_SOURCE_DIR}," STREQUAL ",${CMAKE_BINARY_DIR},")
Are you trying to create an in-source build?
So I just follow the How to build in README.md and turns out I have to add this NOT to be able to compile.
Did you build in .?