Skip to content

Fix OPENAIR_DIR in CMakeLists.txt

Roberto Louro Magueta requested to merge develop-fix-CMakeLists into develop

For some cases the CMAKE_CURRENT_BINARY_DIR is /home/user/openairinterface5g/, and for other cases it is /home/user/openairinterface5g/cmake-build-debug/, which give us a wrong value to OPENAIR_DIR.

Now, using CMAKE_SOURCE_DIR, the OPENAIR_DIR is always equal to /home/user/openairinterface5g/.

Merge request reports

Loading