Skip to content

CMake: Fix support for OSG static lib paths

Gleb Mazovetskiy requested to merge glebm/openmw:fix-osg-static into master

$<TARGET_FILE:...> fails if the argument is already a path (instead of a library name). This happens when a static library is found via osg_find_library.

If the argument contains / or ., do not use $<TARGET_FILE:...>

Merge request reports