Skip to content

Commit 0e6c41f

Browse files
Merge pull request #240 from luk1337/master
Explicitely link to Boost::log on non-win32 platforms
2 parents 725212b + a275ee6 commit 0e6c41f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
350350
${OPENSSL_LIBRARIES}
351351
${PLATFORM_LIBRARIES})
352352

353+
if (NOT WIN32)
354+
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES Boost::log)
355+
endif()
356+
353357
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_ASSETS_DIR="${SUNSHINE_ASSETS_DIR}")
354358
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_CONFIG_DIR="${SUNSHINE_CONFIG_DIR}")
355359
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_DEFAULT_DIR="${SUNSHINE_DEFAULT_DIR}")

0 commit comments

Comments
 (0)