mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Removed doubled code in CMakeLists.txt
This commit is contained in:
parent
dfe3a7d9fc
commit
af5ec069c7
@ -75,14 +75,6 @@ add_test(NAME "check_ExternalTransforms"
|
|||||||
-P "${TOP_SRC_DIR}/src/support/tests/supporttest.cmake")
|
-P "${TOP_SRC_DIR}/src/support/tests/supporttest.cmake")
|
||||||
add_dependencies(lyx_run_tests check_ExternalTransforms)
|
add_dependencies(lyx_run_tests check_ExternalTransforms)
|
||||||
|
|
||||||
set(check_ExternalTransforms_SOURCES)
|
|
||||||
foreach(_f graphics/GraphicsParams.cpp insets/ExternalTransforms.cpp
|
|
||||||
Length.cpp lengthcommon.cpp tests/check_ExternalTransforms.cpp
|
|
||||||
tests/boost.cpp tests/dummy_functions.cpp)
|
|
||||||
list(APPEND check_ExternalTransforms_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
include_directories(${TOP_SRC_DIR}/src/tests)
|
|
||||||
set(check_Length_SOURCES)
|
set(check_Length_SOURCES)
|
||||||
foreach(_f Length.cpp lengthcommon.cpp tests/check_Length.cpp tests/boost.cpp tests/dummy_functions.cpp)
|
foreach(_f Length.cpp lengthcommon.cpp tests/check_Length.cpp tests/boost.cpp tests/dummy_functions.cpp)
|
||||||
list(APPEND check_Length_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
list(APPEND check_Length_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
||||||
|
Loading…
Reference in New Issue
Block a user