You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since CMake findModule for OSG will not automatically pass OSG_LIBRARY_STATIC linkage against OSG will fail in static builds on windows. As such if defined( OSG_LIBRARY_STATIC ) should be changed to if TRUE for static windows builds
The text was updated successfully, but these errors were encountered:
@Neumann-A I see that many header files contain similar content. Should we define OSG_LIBRARY_STATIC in one file to solve this issue? And which header file do we usually include osg first?
JackBoosY
added
category:port-bug
The issue is with a library, which is something the port should already support
and removed
category:port-feature
The issue is with a library, which is requesting new capabilities that didn’t exist
labels
Nov 6, 2020
@Neumann-A I see that many header files contain similar content. Should we define OSG_LIBRARY_STATIC in one file to solve this issue? And which header file do we usually include osg first?
Reason: CMake dependent ports will always assume shared build on windows.
From
include/osg/Export
Since CMake findModule for OSG will not automatically pass
OSG_LIBRARY_STATIC
linkage against OSG will fail in static builds on windows. As suchif defined( OSG_LIBRARY_STATIC )
should be changed toif TRUE
for static windows buildsThe text was updated successfully, but these errors were encountered: