diff --git a/cmake/FindIgnOGRE.cmake b/cmake/FindIgnOGRE.cmake index 722b9d23..e00f6193 100644 --- a/cmake/FindIgnOGRE.cmake +++ b/cmake/FindIgnOGRE.cmake @@ -59,7 +59,7 @@ macro(ign_ogre_declare_plugin TYPE COMPONENT) list(APPEND OGRE_LIBRARIES ${TYPE}_${COMPONENT}) endmacro() -if (NOT PKG_CONFIG_FOUND) +if (NOT WIN32) # pkg-config platforms set(PKG_CONFIG_PATH_ORIGINAL $ENV{PKG_CONFIG_PATH}) set(PKG_CONFIG_PATH_TMP ${PKG_CONFIG_PATH_ORIGINAL})