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:

committed by
Brad King

parent
7279f2939e
commit
a27bc0ccac
@@ -1,5 +1,8 @@
|
||||
#ifdef CHECK_FUNCTION_EXISTS
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char CHECK_FUNCTION_EXISTS();
|
||||
#ifdef __CLASSIC_C__
|
||||
int main(){
|
||||
|
Reference in New Issue
Block a user