From e5c6c20fa3caaf154eb7ec47b4a3a261ce2b9575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AD=A6=E5=88=A9?= Date: Mon, 13 May 2019 14:36:03 +0800 Subject: [PATCH] =?UTF-8?q?Update=20CMakeLists.txt=EF=BC=9B=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AE=89=E8=A3=85=E5=BA=93=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f48124..9ed0fe1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ file(GLOB SRC # Shared Library Output add_library(${lib_name}_shared SHARED ${SRC}) -set_target_properties(${lib_name}_shared PROPERTIES OUTPUT_NAME ${lib_name}) +set_target_properties(${lib_name}_shared PROPERTIES OUTPUT_NAME ${lib_name} LIBRARY_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/lib") # static Library Output add_library(${lib_name}_static STATIC ${SRC})