diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h index ac2a88a5c..89e0c6f47 100644 --- a/Source/cmDynamicLoader.h +++ b/Source/cmDynamicLoader.h @@ -33,6 +33,9 @@ #elif defined(_WIN32) #include typedef HMODULE cmLibHandle; +#elif defined(__APPLE__) + #include + typedef NSModule cmLibHandle; #else typedef void* cmLibHandle; #endif