Move to OIIO 1.4 also for windows x86

This commit is contained in:
Martijn Berger
2014-08-02 09:59:09 +02:00
parent 9c3025cd26
commit bc9bbca41b
2 changed files with 5 additions and 1 deletions

View File

@@ -1001,10 +1001,11 @@ elseif(WIN32)
# We want to support Vista level ABI for x64
if(NOT MSVC_VERSION VERSION_LESS 1700)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-DOIIO_STATIC_BUILD)
endif()
endif()
add_definitions(-DOIIO_STATIC_BUILD)
set(CMAKE_CXX_FLAGS "/nologo /J /Gd /EHsc /MP" CACHE STRING "MSVC MT C++ flags " FORCE)
set(CMAKE_C_FLAGS "/nologo /J /Gd /MP" CACHE STRING "MSVC MT C++ flags " FORCE)