1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00

Check(Function|Library|Symbol)Exists: make it work if only C++ is enabled

This commit is contained in:
Rolf Eike Beer
2015-09-22 06:11:50 +02:00
committed by Brad King
parent 7279f2939e
commit a27bc0ccac
5 changed files with 41 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
#ifdef CHECK_FUNCTION_EXISTS
#ifdef __cplusplus
extern "C"
#endif
char CHECK_FUNCTION_EXISTS();
#ifdef __CLASSIC_C__
int main(){