diff options
| author | 刘学利 <[email protected]> | 2019-05-13 14:36:03 +0800 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2019-05-13 14:36:03 +0800 |
| commit | e5c6c20fa3caaf154eb7ec47b4a3a261ce2b9575 (patch) | |
| tree | f6173720e72af20d6343a895deb16b75b9244ca6 | |
| parent | 57b1924b0581729d30727da07114fe6765a017f4 (diff) | |
Update CMakeLists.txt;增加安装库文件
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |
