Fix cmake_subdir_test and cmake_install_test

This commit is contained in:
Peter Dimov
2023-10-11 19:29:37 +03:00
parent 4f4104aaf0
commit 0fe3f42df7
3 changed files with 3 additions and 3 deletions

View File

@ -7,5 +7,5 @@
int main()
{
BOOST_AUTO(x, 5);
return x == 5;
return x == 5? 0: 1;
}

View File

@ -30,7 +30,7 @@ endforeach()
# --target check
add_executable(main main.cpp)
target_link_libraries(quick Boost::typeof)
target_link_libraries(main Boost::typeof)
enable_testing()
add_test(main main)

View File

@ -7,5 +7,5 @@
int main()
{
BOOST_AUTO(x, 5);
return x == 5;
return x == 5? 0: 1;
}