[poppler] cmake/modules

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Oct 30 23:24:51 UTC 2017


 cmake/modules/PopplerMacros.cmake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f6ad64878d91cbd0c19531c7ff669af0e0fa0912
Author: Sandro Mani <manisandro at gmail.com>
Date:   Tue Oct 31 00:24:11 2017 +0100

    Install pkg-config files also on mingw

diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake
index 95af97cf..aa5ca6de 100644
--- a/cmake/modules/PopplerMacros.cmake
+++ b/cmake/modules/PopplerMacros.cmake
@@ -43,10 +43,10 @@ macro(POPPLER_ADD_UNITTEST exe build_flag)
 endmacro(POPPLER_ADD_UNITTEST)
 
 macro(POPPLER_CREATE_INSTALL_PKGCONFIG generated_file install_location)
-  if(NOT WIN32)
+  if(NOT MSVC)
     configure_file(${generated_file}.cmake ${CMAKE_CURRENT_BINARY_DIR}/${generated_file} @ONLY)
     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${generated_file} DESTINATION ${install_location})
-  endif(NOT WIN32)
+  endif(NOT MSVC)
 endmacro(POPPLER_CREATE_INSTALL_PKGCONFIG)
 
 macro(SHOW_END_MESSAGE what value)


More information about the poppler mailing list