Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9324 by zmatsuo, Tue Jun 29 15:20:20 2021 UTC revision 9325 by zmatsuo, Tue Jun 29 15:20:36 2021 UTC
# Line 116  source_group( Line 116  source_group(
116    
117  if(SUPPORT_OLD_WINDOWS)  if(SUPPORT_OLD_WINDOWS)
118    if(MSVC)    if(MSVC)
119        if(${CMAKE_VERSION} VERSION_LESS "3.12.0")
120          set(CMAKE_C_STANDARD_LIBRARIES "")
121          set(CMAKE_CXX_STANDARD_LIBRARIES "")
122          set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB")
123        else()
124          target_link_options(
125            ${PACKAGE_NAME}
126            PRIVATE
127            /NODEFAULTLIB
128            )
129        endif()
130      target_sources(      target_sources(
131        ${PACKAGE_NAME}        ${PACKAGE_NAME}
132        PRIVATE        PRIVATE
# Line 179  target_link_libraries( Line 190  target_link_libraries(
190    argon2    argon2
191    ${ZLIB_LIB}    ${ZLIB_LIB}
192    ${OPENSSL_LIB}    ${OPENSSL_LIB}
193    #    )
194    
195    if(SUPPORT_OLD_WINDOWS)
196      target_link_libraries(
197        ${PACKAGE_NAME}
198        PRIVATE
199        layer_for_unicode
200        )
201    endif()
202    
203    target_link_libraries(
204      ${PACKAGE_NAME}
205      PRIVATE
206    ws2_32    ws2_32
207    gdi32    gdi32
208    comdlg32    comdlg32

Legend:
Removed from v.9324  
changed lines
  Added in v.9325

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26