mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-12 14:25:16 +08:00
6fb3e5f176
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
18 lines
378 B
CMake
18 lines
378 B
CMake
|
|
find_package(Blitz)
|
|
|
|
if (BLITZ_FOUND)
|
|
include_directories(${BLITZ_INCLUDES})
|
|
|
|
btl_add_bench(btl_blitz btl_blitz.cpp)
|
|
if (BUILD_btl_blitz)
|
|
target_link_libraries(btl_blitz ${BLITZ_LIBRARIES})
|
|
endif ()
|
|
|
|
btl_add_bench(btl_tiny_blitz btl_tiny_blitz.cpp OFF)
|
|
if (BUILD_btl_tiny_blitz)
|
|
target_link_libraries(btl_tiny_blitz ${BLITZ_LIBRARIES})
|
|
endif ()
|
|
|
|
endif ()
|