diff --git a/src/osgPlugins/jp2/CMakeLists.txt b/src/osgPlugins/jp2/CMakeLists.txt index 24b070167..a4aded99e 100644 --- a/src/osgPlugins/jp2/CMakeLists.txt +++ b/src/osgPlugins/jp2/CMakeLists.txt @@ -4,5 +4,10 @@ SET(TARGET_SRC ReaderWriterJP2.cpp ) SET(TARGET_LIBRARIES_VARS JASPER_LIBRARY ) +IF(WIN32) + ADD_DEFINITIONS(-DJAS_WIN_MSVC_BUILD) +ENDIF(WIN32) + + #### end var setup ### SETUP_PLUGIN(jp2)