aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-05-30 18:15:19 +0200
committerRechi <Rechi@users.noreply.github.com>2017-05-30 18:15:19 +0200
commitf23eec42070727d0a59e9c359c6bdcc922163840 (patch)
tree9e17d7a7c4bd0af9781c3086fc16ede57c04f74d /cmake/scripts
parent24d05e8c99513ecca913688dc19298a0dd601fc8 (diff)
[cmake][windows] add project/BuildDependencies/${ARCH}/lib as link directory for win32
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/windows/ArchSetup.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/scripts/windows/ArchSetup.cmake b/cmake/scripts/windows/ArchSetup.cmake
index 4493c3c3e8..11c45cf30a 100644
--- a/cmake/scripts/windows/ArchSetup.cmake
+++ b/cmake/scripts/windows/ArchSetup.cmake
@@ -62,6 +62,7 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")
# TODO: It would certainly be better to handle these libraries via CMake modules.
if(${ARCH} STREQUAL win32)
link_directories(${CMAKE_SOURCE_DIR}/lib/win32/ffmpeg/bin
+ ${CMAKE_SOURCE_DIR}/project/BuildDependencies/${ARCH}/lib
${CMAKE_SOURCE_DIR}/project/BuildDependencies/lib)
else()
link_directories(${CMAKE_SOURCE_DIR}/lib/win32/ffmpeg/bin