swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Tip revision: a4231943117f5ba3dd0fdc6c8b1824334162b69f authored by Brad King on 04 June 2019, 16:29:02 UTC
Merge branch 'ctest_xml_tweaks' into release-3.15
Merge branch 'ctest_xml_tweaks' into release-3.15
Tip revision: a423194
CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(FindGSL_rng CXX)
include(CTest)
find_package(GSL REQUIRED)
add_executable(tstgslrng_tgt main.cc)
target_link_libraries(tstgslrng_tgt GSL::gsl)
add_test(NAME tstgslrng_tgt COMMAND tstgslrng_tgt)
add_executable(tstgslrng_var main.cc)
target_link_libraries(tstgslrng_var ${GSL_LIBRARIES})
target_include_directories(tstgslrng_var PRIVATE ${GSL_INCLUDE_DIRS})
add_test(NAME tstgslrng_var COMMAND tstgslrng_var)