[Insight-users] Bug in CMakeLists.txt for vxl libs
Mike Jackson
imikejackson at gmail.com
Wed Mar 7 12:53:41 EST 2007
InsightToolkit-3.0.1/Utilities/vxl/config/cmake/config/CMakeLists.txt
There is a section in the above file that checks for the math library:
IF(UNIX)
SET(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES};m")
ENDIF(UNIX)
Although generally true, using the latest Intel compiler on OS X
(9.1.036) will add Intel's own libimf.a for math functions. Is there
a way to detect that the Intel Compiler is being used and not run
this section of cmake code? or am I missing something completely?
--
Mike Jackson
imikejackson & gmail * com
More information about the Insight-users
mailing list