Set environment variable MY_CXX_LIBS_BASE_DIR in both Windows and Linux environments to set the root folder that contains these libraries.
When installing in WSL, you can make a copy of the library .a file to the project folder in Windows, by setting environment variable WSL_COPY_LIB_TO_WIN to "1" (in WSL environment).