X-Git-Url: http://mapserver.flightgear.org/git/gitweb.pl?p=flightgear;a=blobdiff_plain;f=CMakeModules%2FFindPLIB.cmake;h=99d2780cfc7396b17029b3b29b9d4c8ede276f45;hp=da5463612aaf72eb7dec88449058e8195979a2fb;hb=dd6c220fd705644faf8df71cded01492ff7af18a;hpb=779a9ae415c58f6d28332b0f9901522e93694129 diff --git a/CMakeModules/FindPLIB.cmake b/CMakeModules/FindPLIB.cmake index da54636..99d2780 100644 --- a/CMakeModules/FindPLIB.cmake +++ b/CMakeModules/FindPLIB.cmake @@ -132,7 +132,7 @@ if(${PLIB_LIBRARIES} STREQUAL "PLIB_LIBRARIES-NOTFOUND") if (${c} STREQUAL "pu") # handle MSVC confusion over pu/pui naming, by removing # 'pu' and then adding it back - list(REMOVE_ITEM outDeps "pu") + list(REMOVE_ITEM outDeps "pu" "fnt" "sg") list(APPEND outDeps ${PUNAME} "fnt" "sg") elseif (${c} STREQUAL "puaux") list(APPEND outDeps ${PUNAME} "fnt" "sg") @@ -144,7 +144,6 @@ if(${PLIB_LIBRARIES} STREQUAL "PLIB_LIBRARIES-NOTFOUND") list(APPEND outDeps "ul") # everything needs ul list(REMOVE_DUPLICATES outDeps) # clean up - # look for traditional static libraries foreach(component ${outDeps})