mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
cmake:
1.) Do not include layout tests on MAC, since the linker-option which allows multiple definitions is no longer supported. 2.) Indenting made consistent
This commit is contained in:
parent
1f41a4fcfd
commit
6e992e3544
@ -185,4 +185,9 @@ if(LYX_BUNDLE)
|
||||
fixup_bundle(\"${installed_lyx}\" \"\" \"\") " COMPONENT RUNTIME)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tests)
|
||||
if(NOT APPLE)
|
||||
# unresoved handling for multiple definitions
|
||||
# APPLE can be enabled, if the hack in src/support/tests/dummy_functions.cp
|
||||
# which requires multiple definitions is resolved. (Georg)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
@ -23,9 +23,9 @@ else()
|
||||
message(STATUS "Allow multiple definitions for cxx-compiler ${CMAKE_CXX_COMPILER_ID} not handled")
|
||||
endif()
|
||||
|
||||
target_link_libraries(check_layout support ${intl_link}
|
||||
${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
|
||||
${ZLIB_LIBRARY} ${ICONV_LIBRARY})
|
||||
target_link_libraries(check_layout support ${intl_link}
|
||||
${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
|
||||
${ZLIB_LIBRARY} ${ICONV_LIBRARY})
|
||||
add_dependencies(lyx_run_tests check_layout)
|
||||
set_target_properties(check_layout PROPERTIES FOLDER "tests/src")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user