Added libIrrlicht.dll.a to searched library names for non-MSVC windows
authorPerttu Ahola <celeron55@gmail.com>
Tue, 17 May 2011 17:11:12 +0000 (20:11 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 17 May 2011 17:11:12 +0000 (20:11 +0300)
cmake/Modules/FindIrrlicht.cmake

index 63881000f9423f381728503826779c37dbf15d97..bd00422629ff388560d2a15db236988e2f35a515 100644 (file)
@@ -23,7 +23,7 @@ if(NOT IRRLICHT_SOURCE_DIR STREQUAL "")
                        set(IRRLICHT_LIBRARY_NAMES Irrlicht.lib)
                else()
                        set(IRRLICHT_SOURCE_DIR_LIBS "${IRRLICHT_SOURCE_DIR}/lib/Win32-gcc")
-                       set(IRRLICHT_LIBRARY_NAMES libIrrlicht.a)
+                       set(IRRLICHT_LIBRARY_NAMES libIrrlicht.a libIrrlicht.dll.a)
                endif()
        else()
                set(IRRLICHT_SOURCE_DIR_LIBS "${IRRLICHT_SOURCE_DIR}/lib/Linux")