From fdb6da1b9beed6da2183b35d37167fc5f8588324 Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Fri, 12 Dec 2014 15:15:18 -0500 Subject: [PATCH] Allow non PNACL versions of VBA-M to build --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79678cf0..4efd3e49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -318,10 +318,6 @@ SET(SRC_SDL src/sdl/expr-lex.cpp ) -SET(SRC_PNACL - src/pnacl/nacl_glue.cpp -) - SET(SRC_FILTERS src/filters/2xSaI.cpp src/filters/admame.cpp @@ -345,6 +341,10 @@ SET(SRC_HQ_ASM src/filters/hq/asm/hq3x32.cpp ) +IF ( PNACL ) + SET( SRC_PNACL src/pnacl/nacl_glue.cpp ) +ENDIF ( PNACL ) + if( ENABLE_ASM_SCALERS ) SET(SRC_FILTERS ${SRC_FILTERS} ${SRC_HQ_ASM}) else( ENABLE_ASM_SCALERS )