openscenegraph / OpenSceneGraph

OpenSceneGraph git repository
http://www.openscenegraph.org
Other
3.25k stars 1.42k forks source link

CMake grammar error #1283

Open fuhaixi opened 11 months ago

fuhaixi commented 11 months ago

https://github.com/openscenegraph/OpenSceneGraph/blob/2e4ae2ea94595995c1fc56860051410b0c0be605/CMakeModules/OsgMacroUtils.cmake#L176-L182 All "TMPVAR" above is empty. This cause plugins are not built in the plugin folder with Ninja or Makefile. Mabey correct to: FILE(TO_CMAKE_PATH "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/${RELATIVE_OUTDIR}" TMPVAR)