diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:47:40 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:47:40 +0300 |
commit | 095fb6134b0df66ce9d9f5b86676f556f4ae9c77 (patch) | |
tree | 8a561d3c3aaa8419b793b079495af4811888386d /test | |
parent | cmake: best practices (diff) | |
download | winapi-utf8-095fb6134b0df66ce9d9f5b86676f556f4ae9c77.tar.gz winapi-utf8-095fb6134b0df66ce9d9f5b86676f556f4ae9c77.zip |
cmake: minor tweaks
Diffstat (limited to '')
-rw-r--r-- | test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3664b3d..bc58900 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,8 +1,9 @@ file(GLOB unit_tests_cpp "*.cpp") add_executable(unit_tests ${unit_tests_cpp}) -target_link_libraries(unit_tests PRIVATE winapi_utf8) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME winapi-utf8-unit-tests) +target_link_libraries(unit_tests PRIVATE winapi_utf8) + find_package(Boost REQUIRED COMPONENTS unit_test_framework) target_link_libraries(unit_tests PRIVATE Boost::disable_autolinking Boost::unit_test_framework) |