Unverified Commit 8504f6b7 authored by Pierre Hallot's avatar Pierre Hallot
Browse files

CMake: Use PROJECT_SOURCE_DIR to improve using mosquitto as subdirectory



When mosquitto is included as subdirectory, `CMAKE_SOURCE_DIR` does not refer to the mosquitto top level CMake file, but to the whole project top level CMake.
Use `PROJECT_SOURCE_DIR` instead to refer to the right CMake in both contextes.

Signed-off-by: default avatarPierre Hallot <hallotpierre@gmail.com>
parent 74814cc6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment