mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Do not compile trivstring.cpp if not needed
This avoids a MSVC warning.
This commit is contained in:
parent
16eb4f1ed7
commit
2e5ecd9dfb
@ -33,6 +33,9 @@ list(REMOVE_ITEM support_sources
|
||||
${TOP_SRC_DIR}/src/support/os_cygwin.cpp
|
||||
${TOP_SRC_DIR}/src/support/os_os2.C
|
||||
${TOP_SRC_DIR}/src/support/gettext.cpp)
|
||||
if(NOT STD_STRING_USES_COW)
|
||||
list(REMOVE_ITEM support_sources ${TOP_SRC_DIR}/src/support/trivstring.cpp)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
message(STATUS "Mac LinkBack support")
|
||||
|
Loading…
Reference in New Issue
Block a user