[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/blitz/blitz
From: David Faure <faure () kde ! org>
Date: 2007-08-20 19:36:41
Message-ID: 1187638601.306791.17237.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 702536 by dfaure:
Fix check for expf: it comes from libm.
M +5 -0 CMakeLists.txt
--- trunk/kdesupport/blitz/blitz/CMakeLists.txt #702535:702536
@@ -41,8 +41,13 @@
endif( HAVE_MMX )
configure_file (config-processor.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-processor.h )
+set(CMAKE_REQUIRED_LIBRARIES_SAVED ${CMAKE_REQUIRED_LIBRARIES})
+if(NOT WIN32)
+ set(CMAKE_REQUIRED_LIBRARIES "-lm")
+endif(NOT WIN32)
include(CheckSymbolExists)
check_symbol_exists(expf "math.h" HAVE_EXPF)
+set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVED})
configure_file (config-fp.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-fp.h )
add_library(blitz SHARED ${blitz_LIB_SRCS} ${blitz_LIB_EXTRA_SRCS})
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic