From 7cd494f55e06432f6afdab9d89b5b13838bcb202 Mon Sep 17 00:00:00 2001 From: xavi92 Date: Sun, 27 Oct 2024 08:06:10 +0000 Subject: [PATCH] customthirdparty.cmake: Find libenet Otherwise, libenet.dll would not be installed into the bin/ directory and speed-dreams-2 would be unable to run. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9601 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: de8b4de35a2665ad6163522097efbd2ab2b923d3 Former-commit-id: 59e37f3174600adff65a134079558a45354e35bd --- cmake/customthirdparty.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/customthirdparty.cmake b/cmake/customthirdparty.cmake index 5fa45450a..3298b59de 100644 --- a/cmake/customthirdparty.cmake +++ b/cmake/customthirdparty.cmake @@ -201,6 +201,9 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME) _FIND_3RDPARTY_DLL("${rhash_LIBRARIES}" "rhash" "lib" _DLL_PATHNAME) LIST(APPEND _THIRDPARTY_DLL_PATHNAMES "${_DLL_PATHNAME}") + _FIND_3RDPARTY_DLL("${ENET_LIBRARY}" "enet" "lib" _DLL_PATHNAME) + LIST(APPEND _THIRDPARTY_DLL_PATHNAMES "${_DLL_PATHNAME}") + # 2) Copy found 3rd party DLL files to the bin folder (for running without installing). #MESSAGE(STATUS "3rdParty dependencies : Will install ${_THIRDPARTY_DLL_PATHNAMES}") SET(_NOINST_DIR "${CMAKE_BINARY_DIR}/${SD_BINDIR}")