aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-10-04 21:18:18 +0200
committerjackpoz <giacomopoz@gmail.com>2013-10-04 21:18:18 +0200
commitd897b55e9bad8ed1655b0538c6b032ba07cc1c55 (patch)
tree750705e53756e08af53b4515dc9d1a1973176e1e /cmake/showoptions.cmake
parentf8fb6d6a5856df061376b3b52ef5967ccb4d12c2 (diff)
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 .
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake1
1 files changed, 0 insertions, 1 deletions
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 )