[CMake] Compiler issue
Sergei Prasalovich
sprasalovich at gmail.com
Wed May 16 04:24:31 EDT 2007
Hi,
I am working with Insight Segmentation and Registration Toolkit, which
i successfully built using Cmake on Unix (Mac OS X). I used the default
compiler gcc 3.3 for that. Everything worked smoothly with configuring
and compiling applications for a month until recently when I started
getting this message in Cmake:
++++
Warning: CMake is forcing CMAKE_CXX_COMPILER to "c++" to match that
imported from ITK. This is required because C++ projects must use the
same compiler. If this
message appears for more than one imported project, you have
conflicting C++ compilers and will have to re-build one of those
projects. Was set to /usr/bin/g++
Warning: CMake is forcing CMAKE_C_FLAGS_RELEASE to "-O3" to match that
imported from ITK. If this message appears for more than one imported
project, you have
conflicting options and will have to re-build one of those projects.
Warning: CMake is forcing CMAKE_C_FLAGS_MINSIZEREL to "-Os" to match
that imported from ITK. If this message appears for more than one
imported project, you have
conflicting options and will have to re-build one of those projects.
Warning: CMake is forcing CMAKE_CXX_FLAGS_RELEASE to "-O3" to match
that imported from ITK. If this message appears for more than one
imported project, you have
conflicting options and will have to re-build one of those projects.
Warning: CMake is forcing CMAKE_CXX_FLAGS_MINSIZEREL to "-Os" to match
that imported from ITK. If this message appears for more than one
imported project, you have
conflicting options and will have to re-build one of those projects.
++++
I rebuilt Cmake and ITK, but that didn't help.
I wonder if there is any trivial solution to this problem?
Thanks in advance!
Sergei
More information about the CMake
mailing list