Skip to content

Commit

Permalink
Change cmake_subdir_test and cmake_install_test to use Boost::stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jun 21, 2024
1 parent 1b16c5d commit 1db160d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/cmake_install_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ cmake_minimum_required(VERSION 3.5...3.20)

project(cmake_install_test LANGUAGES CXX)

find_package(boost_stacktrace_basic REQUIRED)
find_package(boost_stacktrace REQUIRED)

add_executable(main main.cpp)
target_link_libraries(main Boost::stacktrace_basic)
target_link_libraries(main Boost::stacktrace)

enable_testing()
add_test(main main)
2 changes: 1 addition & 1 deletion test/cmake_subdir_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ foreach(dep IN LISTS deps)
endforeach()

add_executable(main main.cpp)
target_link_libraries(main Boost::stacktrace_basic)
target_link_libraries(main Boost::stacktrace)

enable_testing()
add_test(main main)

0 comments on commit 1db160d

Please sign in to comment.