|
if(",${CMAKE_SOURCE_DIR}," STREQUAL ",${CMAKE_BINARY_DIR},") |
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},")
syscall_intercept/CMakeLists.txt
Line 39 in ca4b135
According to CMake doc,
CMAKE_SOURCE_DIRshould be the same asCMAKE_BINARY_DIRfor an in-source build. Thus, I assume the above line missed aNOT?After I changed to this, the compile works: