Procházet zdrojové kódy

Fix incorrect nettle library references

tags/v1.12.90
Pierre Ossman před 1 rokem
rodič
revize
4b12f80cf4
2 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. 2
    1
      common/rdr/CMakeLists.txt
  2. 4
    1
      common/rfb/CMakeLists.txt

+ 2
- 1
common/rdr/CMakeLists.txt Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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)

Načítá se…
Zrušit
Uložit