mirror of
https://github.com/boostorg/gil.git
synced 2026-02-18 02:02:09 +00:00
Do not link lightweight_test-based tests against Boost.Test libraries. Tidy up. [ci skip]
16 lines
508 B
CMake
16 lines
508 B
CMake
#
|
|
# Copyright (c) 2018 Mateusz Loskot <mateusz at loskot dot net>
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
foreach(name
|
|
for_each_pixel
|
|
std_fill)
|
|
add_executable(gil_test_${name} "")
|
|
target_sources(gil_test_${name} PRIVATE ${_boost_gil_headers} ${name}.cpp)
|
|
target_link_libraries(gil_test_${name} PRIVATE Boost::boost)
|
|
add_test(gil.tests.core.${name} gil_test_${name})
|
|
endforeach()
|