Markus Blatt
3db8443c8c
substituted which with command -v.
2013-09-24 15:39:38 +02:00
Markus Blatt
23499b7616
Extracts the full compiler path and feeds it to cmake.
...
Previously, specifying the compiler name with a variable
to configure ("configure CC=gcc") lead to CMake complaining
that <builddir>/$CC was not a valid path. This patch fixes
this by extracting the full path with "which <compiler>".
Should fix issue #355 .
2013-09-24 15:39:37 +02:00
Markus Blatt
cc0631cd65
Adjusts macro documentation to recent change.
2013-08-14 23:39:02 +02:00
Markus Blatt
b2006496c6
Change marker EXCLUDE_ALL to EXCLUDE_FROM_ALL in opm_compile_satellite
...
Previously, when passing EXCLUDE_ALL to opm_compile_satellite this
resulted a cmake error:
CMake Error at cmake/Modules/UseDebugSymbols.cmake:71 (get_target_property):
Cannot find source file:
EXCLUDE_ALL
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
cmake/Modules/OpmSatellites.cmake:77 (strip_debug_symbols)
CMakeLists.txt:176 (opm_compile_satellites)
2013-08-14 23:39:02 +02:00