CMake: make the project compatible with building as a subproject
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 11 Sep 2023 08:04:04 +0000 (10:04 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 10 Oct 2023 14:50:09 +0000 (16:50 +0200)
commite7f734f82c69aea10f1f9bde57f228339fcb56f3
treebb7234151ec94a0dc72812ade76af913a4ebb70e
parent09203ccd2a8798ed246c6075be6ffe56c38be16a
CMake: make the project compatible with building as a subproject

Use CMAKE_CURRENT_*_DIR in the main CMakeLists.txt and PROJECT_*_DIR
in the subdirectories.
CMakeLists.txt
examples/CMakeLists.txt
ftdi_eeprom/CMakeLists.txt
ftdipp/CMakeLists.txt
python/CMakeLists.txt
test/CMakeLists.txt