rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user