Skip to content

Commit

Permalink
Make the static library and the shared library have the same name
Browse files Browse the repository at this point in the history
  • Loading branch information
guoh27 committed Jun 3, 2023
1 parent ccf6638 commit 4f17d88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ set_target_properties(${project_name}
set_target_properties(${project_name}-static
PROPERTIES
CXX_STANDARD 11
POSITION_INDEPENDENT_CODE 1)
POSITION_INDEPENDENT_CODE 1
OUTPUT_NAME ${project_name})

if(NOSHELL_ENABLE_INSTALL)
set(project_config_in "${CMAKE_CURRENT_LIST_DIR}/noshellConfig.cmake.in")
Expand Down

0 comments on commit 4f17d88

Please sign in to comment.