Can get test app to link with freertos_plus_tcp

I am consuming both freertos-kernel and freertos-Plus-TCP as submodules.
I am doing the actual project building using a top level cmakelist.txt file.
As far as I can tell I have everything setup and configured for my port (STM32).
I can build and test basic freertos-kernel with a simple task test loop that just flashes an LED.
That is working just fine.
I next attempted to add TCP. Again I have configuration setup and it also appears to be building as I can see several lib files being generated in my build directory without any errors.
I then tried to expand my main.c to include the tcp startup and a simple task loop.
It also appears to be compiling without errors but I keep getting “undefined reference to `FreeRTOS_IPInit’” when it tries to link. No matter what I try in configuring the target_link_libraries it will not link. It does not give any warning that it cannot find any of the libraries. I initially just tried to adding “freertos_plus_tcp”
to my previously working target_link_libraries which just had the freertos_kernel and freertos_config entries but this fails also.

What am I missing?

@dvescovi1

Which version of FreeRTOS+TCP are you using?
Also, are you migrating a pre-existing application to a newer version of FreeRTOS+TCP?

If you are using newer versions, (above V4.0.0), then, the FreeRTOS_IPInit is replaced with a newer API (FreeRTOS_IPInit_Multi), but is kept for backward compatibility only by enabling ipconfigIPv4_BACKWARD_COMPATIBLE.

You can check the usage of FreeRTOS_IPInit_Multi here.

that was it … outdated config file. thanks