This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Description
|
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},")