Patch [#28660] x64 thumbnail handler not being installed in CMake builds by Tom Edwards.
authorThomas Dinges <blender@dingto.org>
Fri, 7 Oct 2011 18:25:54 +0000 (18:25 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 7 Oct 2011 18:25:54 +0000 (18:25 +0000)
source/creator/CMakeLists.txt

index d36bd3cd3442dd322b0dbdbd5dc2e003ea0bf2b6..0650a5678b2e7be28e0deccef4c6bc8b14d0237b 100644 (file)
@@ -582,12 +582,12 @@ elseif(WIN32)
                        FILES ${LIBDIR}/thumbhandler/lib/BlendThumb.dll
                        DESTINATION ${TARGETDIR}
                )
-       else()
-               install(
-                       FILES ${LIBDIR}/thumbhandler/lib/BlendThumb64.dll
-                       DESTINATION ${TARGETDIR}
-               )
        endif()
+               
+       install( # x86 builds can run on x64 Windows, so this is required at all times
+               FILES ${LIBDIR}/thumbhandler/lib/BlendThumb64.dll
+               DESTINATION ${TARGETDIR}
+       )       
 
 elseif(APPLE)
        set(SOURCEDIR ${CMAKE_SOURCE_DIR}/source/darwin/blender.app)