mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
add forgotten macro to enable pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32595 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e17a01910e
commit
3dcec5edff
@ -281,7 +281,7 @@ if(NOT disable-pch)
|
||||
message(STATUS "-----")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/pcheaders.h ${CMAKE_BINARY_DIR}/pcheaders.h)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/config.cpp.cmake ${CMAKE_BINARY_DIR}/config_pch.cpp)
|
||||
|
||||
add_definitions(-DLYX_ENABLE_PCH)
|
||||
|
||||
if(MSVC AND NOT MERGE_FILES)
|
||||
macro(lyx_add_msvc_pch name_)
|
||||
@ -301,7 +301,7 @@ if(NOT disable-pch)
|
||||
macro(lyx_add_msvc_pch name_)
|
||||
endmacro()
|
||||
macro(lyx_add_gcc_pch name_)
|
||||
add_definitions(-DLYX_ENABLE_PCH -DLYX_PCH_STL -DLYX_PCH_BOOST -DLYX_PCH_QT4)
|
||||
add_definitions(-DLYX_PCH_STL -DLYX_PCH_BOOST -DLYX_PCH_QT4)
|
||||
ADD_PRECOMPILED_HEADER(${name_} ${CMAKE_BINARY_DIR}/config_pch.cpp ${CMAKE_BINARY_DIR}/config.h.gch)
|
||||
endmacro()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user