From cdd0aef1ce51fd76ac936d63442aa90dea811913 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 Nov 2013 10:20:24 +0100 Subject: [PATCH] - fixed: HQnX must be excluded on Win64 builds. --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5fada0c4..c8e3fcf60 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -610,7 +610,7 @@ if( WIN32 ) endif( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" ) # [BB] Maxim Stepin's hq2x/3x/4x pixel upsampling algorithm as library. Currently only used with VC++. - if( MSVC ) + if( MSVC AND NOT X64 ) set( SYSTEM_SOURCES ${SYSTEM_SOURCES} gl/hqnx/Image.cpp @@ -618,7 +618,7 @@ if( WIN32 ) gl/hqnx/hq3x.cpp gl/hqnx/hq4x.cpp ) - endif( MSVC ) + endif( MSVC AND NOT X64) else( WIN32 ) set( SYSTEM_SOURCES_DIR sdl ) set( SYSTEM_SOURCES ${PLAT_SDL_SOURCES} )