steinwurf / srt

SRT dependency, wrapper around https://github.com/Haivision/srt/tree/master
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

fix: lib64 builds fail once on clean install #4

Closed steinwurf-sofie closed 3 months ago

steinwurf-sofie commented 3 months ago

Due to find_node creating a task, its not guaranteed to run after the completion of CMakeBuildTask. Since we depended on the output of CMakeBuildTask to switch to lib64, the first build would tend to return false and incorrectly give lib on lib64 based systems.

The fix is to read both paths in read_stlib, instead of using an if statement to choose the correct lib folder.

Fixes: steinwurf/srt#3