From d897b55e9bad8ed1655b0538c6b032ba07cc1c55 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Fri, 4 Oct 2013 21:18:18 +0200 Subject: Core/Build: Handle USE_SCRIPTPCH cmake flag when SCRIPTS flag is set to FALSE Don't ignore USE_SCRIPTPCH cmake flag if SCRIPTS is set to FALSE; in this case "script" project has only source files related to scripted spells and command scripts and it must be built with precompiled headers if USE_SCRIPTPCH flag is set. This partially reverts 780ed1b01c77ac142e1da5851ff7deb832413b11 . --- cmake/showoptions.cmake | 1 - 1 file changed, 1 deletion(-) (limited to 'cmake/showoptions.cmake') diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index 08dc2a0cfcb..2d21136d661 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -28,7 +28,6 @@ if( SCRIPTS ) add_definitions(-DSCRIPTS) else() message("* Build with scripts : No") - set(USE_SCRIPTPCH 0) endif() if( TOOLS ) -- cgit v1.2.3