changeset 835:a15ad019bbec

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Jun 2014 12:21:50 +0200
parents 94e65f7e426f
children 22964c7ff1c3
files CMakeLists.txt
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Jun 02 12:18:19 2014 +0200
+++ b/CMakeLists.txt	Mon Jun 02 12:21:50 2014 +0200
@@ -240,6 +240,8 @@
 
 # Setup precompiled headers for Microsoft Visual Studio
 if (${MSVC})
+  add_definitions(-DORTHANC_USE_PRECOMPILED_HEADERS=1)
+
   ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS(
     "PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_CORE_SOURCES)