Commit 4c64b078 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed bug on windows with empty libdirs

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10719 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 59840a4e
...@@ -89,10 +89,14 @@ of_add_plugins () ...@@ -89,10 +89,14 @@ of_add_plugins ()
# ======================================================================== # ========================================================================
if (WIN32 ) if (WIN32 )
# Plugins collected a list of required libdirs for getting # Plugins collected a list of required libdirs for getting
# their DLLS on windows: # their DLLS on windows:
get_property( WINDOWS_COPY_LIBDIRS GLOBAL PROPERTY WINDOWS_LIBRARY_DIR_LIST ) get_property( WINDOWS_COPY_LIBDIRS GLOBAL PROPERTY WINDOWS_LIBRARY_DIR_LIST )
list(REMOVE_DUPLICATES WINDOWS_COPY_LIBDIRS)
if ( WINDOWS_COPY_LIBDIRS )
list(REMOVE_DUPLICATES WINDOWS_COPY_LIBDIRS)
endif()
# prepare bundle generation cmake file and add a build target for it # prepare bundle generation cmake file and add a build target for it
configure_file ("${CMAKE_SOURCE_DIR}/OpenFlipper/cmake/fixbundle.cmake.win.in" configure_file ("${CMAKE_SOURCE_DIR}/OpenFlipper/cmake/fixbundle.cmake.win.in"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment