rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options

This commit is contained in:
wmayer
2019-04-15 13:31:31 +02:00
parent 0c4d9f8b1b
commit 0521860740
7 changed files with 13 additions and 13 deletions

View File

@@ -1260,10 +1260,10 @@ if(MSVC)
)
endif(MSVC)
if (BUILD_USE_PCH)
if (FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
ADD_MSVC_PRECOMPILED_HEADER(FreeCADGui PreCompiled.h PreCompiled.cpp FreeCADGui_CPP_SRCS)
endif(BUILD_USE_PCH)
endif(FREECAD_USE_PCH)
if (FREECAD_USE_QT_FILEDIALOG)
set_source_files_properties(FileDialog.cpp PROPERTIES COMPILE_FLAGS -DUSE_QT_FILEDIALOG)