summaryrefslogtreecommitdiffstats
path: root/Modules/kde3init_dummy.cpp.in
blob: 7135c73a1bbf8e32dcd9053123681cfa15eb2c06 (plain)
1
2
3
4
5
6

/* used by KDE3Macros.cmake */

extern "C" int kdemain(int argc, char* argv[]);
extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
int main(int argc, char* argv[]) { return kdemain(argc,argv); }
td>
authorChuck Atkins <chuck.atkins@kitware.com>2017-06-15 20:04:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-16 15:40:02 (GMT)
commit8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9 (patch)
treefdf98d4421fb711ffbf12336246134ce7dbf17e6 /Modules
parentc52b982da6fc6387ba66a15c097ae90f69980ef5 (diff)
downloadCMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.zip
CMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.tar.gz
CMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.tar.bz2
FindHDF5: Fix parallel detection when primary compiler is an HDF5 wrapper
This is covering a different use case where your primary compilers are HDF5 wrappers, as is the case when using the Cray Programming Environment. The existing code tries to query the compiler using options only available to h5cc and friends, which doesn't work when your wrapper is not h5cc, as is the case with the CrayPE. This change instead pulls strings out of a test binary when testing for "is your regular compiler an HDF5 wrapper" while the "query wrapper for options" is reserved for the "I found the hdf5 wrappers but they're not your main compiler" mode.