From Wang Rui, "A very small clerical error in the src/osgViewer/CMakeLists.txt makes MinGW/Cygwin builds fail. Now it is fixed and now OSG works well again with Cygwin. :-) The OSC plugin also needs a small fix to compile with Cygwin, as attached file src/osgPlugins/osc/osc/OscHostEndianness.h shows."
This commit is contained in:
@@ -259,7 +259,7 @@ SET(TARGET_LIBRARIES
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${LIB_EXTRA_LIBS})
|
||||
|
||||
IF(MINGW OR CYGWIN)
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARY} gdi32 )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} gdi32 )
|
||||
ENDIF()
|
||||
|
||||
SETUP_LIBRARY(${LIB_NAME})
|
||||
|
||||
Reference in New Issue
Block a user