Skip to content

Commit

Permalink
Merge pull request #1581 from jef-n/win-no-abi-lib
Browse files Browse the repository at this point in the history
stick with proj.lib on windows
  • Loading branch information
kbevers authored Sep 5, 2019
2 parents 1c2a58b + 6b99e02 commit 06578ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmake/ProjUtilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ endfunction()

#
# Generates output name for given target depending on platform and version.
# For instance, on Windows, libraries get ABI version suffix proj_X_Y.{dll|lib}.
# For instance, on Windows, dynamic link libraries get ABI version suffix
# proj_X_Y.dll.
#

function(proj_target_output_name TARGET_NAME OUTPUT_NAME)
Expand Down
2 changes: 1 addition & 1 deletion src/bin_proj.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source_group("Source Files\\Bin" FILES ${PROJ_SRC})
add_executable(binproj ${PROJ_SRC})
set_target_properties(binproj
PROPERTIES
OUTPUT_NAME proj)
RUNTIME_OUTPUT_NAME proj)
target_link_libraries(binproj ${PROJ_LIBRARIES})
target_compile_options(binproj PRIVATE ${PROJ_CXX_WARN_FLAGS})

Expand Down
1 change: 1 addition & 0 deletions src/lib_proj.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ if(WIN32)
PROPERTIES
VERSION "${${PROJECT_INTERN_NAME}_BUILD_VERSION}"
OUTPUT_NAME "${PROJ_CORE_TARGET_OUTPUT_NAME}"
ARCHIVE_OUTPUT_NAME "${PROJ_CORE_TARGET}"
CLEAN_DIRECT_OUTPUT 1)
elseif(BUILD_FRAMEWORKS_AND_BUNDLE)
set_target_properties(${PROJ_CORE_TARGET}
Expand Down

0 comments on commit 06578ae

Please sign in to comment.