mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
forgot to include a file in previous commit
This commit is contained in:
parent
8a424efb11
commit
bd8107c90c
@ -75,6 +75,18 @@ MACRO(BTL_ADD_BENCH targetname)
|
|||||||
|
|
||||||
ENDMACRO(BTL_ADD_BENCH)
|
ENDMACRO(BTL_ADD_BENCH)
|
||||||
|
|
||||||
|
macro(btl_add_target_property target prop value)
|
||||||
|
|
||||||
|
if(BUILD_${target})
|
||||||
|
get_target_property(previous ${target} ${prop})
|
||||||
|
if(NOT previous)
|
||||||
|
set(previous "")
|
||||||
|
endif()
|
||||||
|
set_target_properties(${target} PROPERTIES ${prop} "${previous} ${value}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endmacro(btl_add_target_property)
|
||||||
|
|
||||||
ENABLE_TESTING()
|
ENABLE_TESTING()
|
||||||
|
|
||||||
add_subdirectory(libs/eigen2)
|
add_subdirectory(libs/eigen2)
|
||||||
|
Loading…
Reference in New Issue
Block a user