All pastes #822059 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-18 14:24 UTC
rendered paste body
--- kleopatra/ConfigureChecks.cmake     (revision 750018)
+++ kleopatra/ConfigureChecks.cmake     (working copy)
@@ -41,11 +41,7 @@

 if ( USABLE_ASSUAN_FOUND )

-  set(CMAKE_REQUIRED_LIBRARIES_tmp ${CMAKE_REQUIRED_LIBRARIES}) #push
-  set(CMAKE_REQUIRED_INCLUDES_tmp ${CMAKE_REQUIRED_INCLUDES}) #push
-
   # check if assuan has assuan_fd_t
-  set(CMAKE_REQUIRED_LIBRARIES ${_gpg_error_library})
   set(CMAKE_REQUIRED_INCLUDES ${ASSUAN_INCLUDES})
   if(MINGW) # TODO: this workaround will be removed as soon as we find better solution
     set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${KDEWIN32_INCLUDE_DIR}/mingw)
@@ -108,9 +104,6 @@
     set( USABLE_ASSUAN_FOUND false )
   endif ( WIN32 AND NOT HAVE_ASSUAN_SOCK_GET_NONCE )

-  set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_tmp}) #pop
-  set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_tmp}) #pop
-
 endif ( USABLE_ASSUAN_FOUND )

 if ( USABLE_ASSUAN_FOUND )