Fix OPENAIR_DIR in CMakeLists.txt
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/
.