From 2fc843a1e2dd6bd9f6c84aaff6214ba2657931f2 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 11 1月 2020 14:44:17 +0800
Subject: [PATCH] issue #70

---
 test/library/CMakeLists.txt |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/test/library/CMakeLists.txt b/test/library/CMakeLists.txt
index 382dcb5..c04985d 100644
--- a/test/library/CMakeLists.txt
+++ b/test/library/CMakeLists.txt
@@ -6,7 +6,9 @@
 target_link_libraries(
  test_license_reader
  licensecc_static
- ${Boost_LIBRARIES}
+ Boost::unit_test_framework 
+ Boost::filesystem
+ Boost::system
 )
 
 ADD_TEST(NAME test_license_reader COMMAND test_license_reader)
@@ -21,8 +23,10 @@
 
 	target_link_libraries(
  		test_os_linux
- 		os
- 		${Boost_LIBRARIES}
+ 		licensecc_static
+ 		Boost::unit_test_framework 
+        Boost::filesystem
+        Boost::system
 	)
 
 	ADD_TEST(NAME test_os_linux COMMAND test_os_linux)
@@ -36,8 +40,10 @@
 
 target_link_libraries(
  test_license_locator
- locators
- ${Boost_LIBRARIES}
+ licensecc_static
+ Boost::unit_test_framework 
+ Boost::filesystem
+ Boost::system
 )
 
 ADD_TEST(NAME test_license_locator COMMAND test_license_locator)
@@ -51,7 +57,9 @@
 target_link_libraries(
  test_event_registry
  base
- ${Boost_LIBRARIES}
+ Boost::unit_test_framework 
+ Boost::filesystem
+ Boost::system
 )
 
 ADD_TEST(NAME test_event_registry COMMAND test_event_registry)

--
Gitblit v1.9.1