Browse Source

Update CompositeSources.cmake

this allows panda to be checked out as a subproject
Philip Whitfield 5 years ago
parent
commit
11eae3f1f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/macros/CompositeSources.cmake

+ 1 - 1
cmake/macros/CompositeSources.cmake

@@ -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()