diff --git a/lib/test/common/CMakeLists.txt b/lib/test/common/CMakeLists.txt index 351c8dbcf..4dd18601c 100644 --- a/lib/test/common/CMakeLists.txt +++ b/lib/test/common/CMakeLists.txt @@ -18,6 +18,8 @@ # and at http://www.gnu.org/licenses/. # +find_package(SCTP REQUIRED) + ####################################################################### # COMMON TESTS ####################################################################### @@ -81,5 +83,5 @@ target_link_libraries(timer_test srslte_common) add_test(timer_test timer_test) add_executable(network_utils_test network_utils_test.cc) -target_link_libraries(network_utils_test srslte_common ${CMAKE_THREAD_LIBS_INIT} ${SCTP_LIBRARIES}) +target_link_libraries(network_utils_test srslte_common ${SCTP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) add_test(network_utils_test network_utils_test)