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

@@ -361,11 +361,11 @@ SET(Mesh_SRCS
Segment.h
)
if(BUILD_USE_PCH)
if(FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${Core_SRCS} ${Mesh_SRCS})
ADD_MSVC_PRECOMPILED_HEADER(Mesh PreCompiled.h PreCompiled.cpp PCH_SRCS)
endif(BUILD_USE_PCH)
endif(FREECAD_USE_PCH)
add_library(Mesh SHARED ${Core_SRCS} ${WildMagic4_SRCS} ${Mesh_SRCS})
target_link_libraries(Mesh ${Mesh_LIBS})