CMakeLists.txt.patch

Tsukasa Sugiura, 2012-01-26 05:04 pm

Download (561 Bytes)

 
CMakeLists.txt (working copy)
1199 1199
    endif()
1200 1200
endif()
1201 1201

  
1202
# Add Preprocessor Definitions /D OPENEXR_DLL
1203
if(MSVC)
1204
    set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /D OPENEXR_DLL")
1205
endif()
1206

  
1202 1207
# Extra link libs if the user selects building static libs:
1203 1208
if(NOT BUILD_SHARED_LIBS AND CMAKE_COMPILER_IS_GNUCXX AND NOT ANDROID)
1204 1209
    # Android does not need these settings because they are already set by toolchain file