Update CompositeSources.cmake

this allows panda to be checked out as a subproject
This commit is contained in:
Philip Whitfield 2020-03-05 22:03:08 +01:00 committed by GitHub
parent 7b40a6a0e4
commit 11eae3f1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ set(COMPOSITE_SOURCE_EXCLUSIONS "" CACHE STRING
"A list of targets to skip when compositing sources. This is mainly
desirable for CI builds.")
set(COMPOSITE_GENERATOR "${CMAKE_SOURCE_DIR}/cmake/scripts/MakeComposite.cmake")
set(COMPOSITE_GENERATOR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/scripts/MakeComposite.cmake")
# Define composite_sources()