ソースを参照

Fix incorrect nettle library references

tags/v1.12.90
Pierre Ossman 1年前
コミット
4b12f80cf4
2個のファイルの変更6行の追加2行の削除
  1. 2
    1
      common/rdr/CMakeLists.txt
  2. 4
    1
      common/rfb/CMakeLists.txt

+ 2
- 1
common/rdr/CMakeLists.txt ファイルの表示

@@ -27,7 +27,8 @@ if(GNUTLS_FOUND)
endif()
if (NETTLE_FOUND)
include_directories(${NETTLE_INCLUDE_DIRS})
target_link_libraries(rdr ${NETTLE_LINK_LIBRARIES})
target_link_libraries(rdr ${NETTLE_LIBRARIES})
target_link_directories(rdr PUBLIC ${NETTLE_LIBRARY_DIRS})
endif()
if(WIN32)
target_link_libraries(rdr ws2_32)

+ 4
- 1
common/rfb/CMakeLists.txt ファイルの表示

@@ -105,7 +105,10 @@ endif()
if (NETTLE_FOUND)
target_sources(rfb PRIVATE CSecurityRSAAES.cxx SSecurityRSAAES.cxx)
include_directories(${NETTLE_INCLUDE_DIRS} ${GMP_INCLUDE_DIRS})
target_link_libraries(rfb ${HOGWEED_LINK_LIBRARIES} ${NETTLE_LINK_LIBRARIES} ${GMP_LINK_LIBRARIES})
target_link_libraries(rfb ${HOGWEED_LIBRARIES}
${NETTLE_LIBRARIES} ${GMP_LIBRARIES})
target_link_directories(rfb PUBLIC ${HOGWEED_LIBRARY_DIRS}
${NETTLE_LIBRARY_DIRS} ${GMP_LIBRARY_DIRS})
endif()

if(UNIX)

読み込み中…
キャンセル
保存