stlab / libraries

ASL libraries will be migrated here in the stlab namespace, new libraries will be created here.
https://stlab.cc
Boost Software License 1.0
660 stars 65 forks source link

Changed CMake paths to be robust to subprojects #507

Closed laserallan closed 1 year ago

laserallan commented 1 year ago

Replaced CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR respectively. CMAKE_SOURCE_DIR will not point to the source directory of stlab if it's integrated as a subproject in a different repository which makes the paths invalid