CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
This tells CMake to refer to the currently executed `CMakeLists.txt`'s directory instead of the root project directory. This allows protobuf-c to be included as a subdirectory (via `include_subdirectory`) while being innocuous for those that build protobuf-c by itself.
Showing
Please register or sign in to comment