Set *BSD variables when running on a *BSD target
Related to #23840 (closed), when running on *BSD systems there is no variable set in the the Module/Platform/*BSD.cmake
files.
Edited by Cristian Adam
Related to #23840 (closed), when running on *BSD systems there is no variable set in the the Module/Platform/*BSD.cmake
files.