mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
[CMake] Fix restoration of CMAKE_REQUIRED_LIBRARIES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -157,7 +157,7 @@ mark_as_advanced(HAVE_SCANDIR_POSIX)
|
||||
|
||||
# restore CMAKE_REQUIRED_LIBRARIES (is this really necessary ?)
|
||||
if(DEFINED SAVED_REQUIRED_LIBRARIES)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES})
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${SAVED_REQUIRED_LIBRARIES})
|
||||
unset(SAVED_REQUIRED_LIBRARIES)
|
||||
else(DEFINED SAVED_REQUIRED_LIBRARIES)
|
||||
unset(CMAKE_REQUIRED_LIBRARIES)
|
||||
@@ -185,3 +185,7 @@ endif (DOXYGEN_FOUND)
|
||||
# message("Doxygen found : ${DOXYGEN_FOUND}")
|
||||
# message("LaTex found : ${LATEX_FOUND}")
|
||||
# message("LaTex Compiler : ${LATEX_COMPILER}")
|
||||
|
||||
#
|
||||
# End of "$Id$".
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user