From 65454077a8c63b50adda4e8c6095c8f00675c4d2 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周日, 08 3月 2020 21:45:16 +0800
Subject: [PATCH] Merge branch 'feature/pc_identifiers' of https://github.com/open-license-manager/open-license-manager.git into feature/pc_identifiers

---
 src/library/locate/CMakeLists.txt |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/library/locate/CMakeLists.txt b/src/library/locate/CMakeLists.txt
index 4314fbd..0862d6c 100644
--- a/src/library/locate/CMakeLists.txt
+++ b/src/library/locate/CMakeLists.txt
@@ -1,5 +1,4 @@
-
-ADD_LIBRARY(locators STATIC
+add_library(locate OBJECT
     ApplicationFolder.cpp
     EnvironmentVarLocation.cpp
     EnvironmentVarData.cpp
@@ -8,11 +7,6 @@
     LocatorFactory.cpp
 )
 
-add_dependencies( locators os base )
-
-target_link_libraries(
-     locators
-     os
-     base
-)
-
+if(CODE_COVERAGE AND UNIX)
+	  target_compile_options(locate PUBLIC -O0 -g --coverage)
+endif(CODE_COVERAGE AND UNIX)
\ No newline at end of file

--
Gitblit v1.9.1