You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by rl...@apache.org on 2018/02/18 20:31:23 UTC
svn commit: r1824706 - /xerces/c/trunk/src/CMakeLists.txt
Author: rleigh
Date: Sun Feb 18 20:31:23 2018
New Revision: 1824706
URL: http://svn.apache.org/viewvc?rev=1824706&view=rev
Log:
cmake: Correctly add interface major version to MSVC .lib filename
Modified:
xerces/c/trunk/src/CMakeLists.txt
Modified: xerces/c/trunk/src/CMakeLists.txt
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/CMakeLists.txt?rev=1824706&r1=1824705&r2=1824706&view=diff
==============================================================================
--- xerces/c/trunk/src/CMakeLists.txt (original)
+++ xerces/c/trunk/src/CMakeLists.txt Sun Feb 18 20:31:23 2018
@@ -1256,7 +1256,7 @@ if(MSVC)
target_compile_definitions(xerces-c PRIVATE "XERCES_DLL_NAME=\"$<TARGET_FILE_NAME:xerces-c>\\0\"")
# Different naming for Windows than for Unix builds for backward
# compatibility with the existing project files.
- set_target_properties(xerces-c PROPERTIES OUTPUT_NAME "xerces-c_${INTERFACE_VERSION_U_MAJOR}")
+ set_target_properties(xerces-c PROPERTIES OUTPUT_NAME "xerces-c_${INTERFACE_VERSION_MAJOR}")
set_target_properties(xerces-c PROPERTIES RUNTIME_OUTPUT_NAME "xerces-c_${INTERFACE_VERSION_U}")
set_target_properties(xerces-c PROPERTIES DEBUG_POSTFIX "D")
elseif(UNIX)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org