From b484d601e5cdc8be1c672c2fa74503e918030a7b Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 2 Jun 2023 00:06:37 -0500 Subject: [PATCH] [glutils] Make static lib instead of object lib --- src/glutils/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/glutils/CMakeLists.txt b/src/glutils/CMakeLists.txt index e17d21f4b..3b6a10550 100644 --- a/src/glutils/CMakeLists.txt +++ b/src/glutils/CMakeLists.txt @@ -1,5 +1,5 @@ add_library( - GlUtils OBJECT + GlUtils glutils.cpp ) @@ -19,3 +19,11 @@ install( DESTINATION include/glutils ) + +install( + TARGETS + GlUtils + DESTINATION + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +) \ No newline at end of file