diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-24 00:07:38 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-24 07:10:12 +0000 |
commit | dbd409d0410dff7f5d4b6bdd7f16d286accf01a5 (patch) | |
tree | 5bc4396291b94f38ee956c714cb0a8328bb6d2b3 /wsutil/CMakeLists.txt | |
parent | 4f1d20abae2c485bf0cdcaee10a917e4e01ebda1 (diff) |
Fix OS X CMake build.
I have ***NO*** idea why this makes a difference, but, without this
change, APPLE_CORE_FOUNDATION_LIBRARY is apparently *not* set correctly
for wsutil/CMakeLists.txt, and, with this change, it is. I guess
there's something magic involved here with "global" CMake variables or
something crazy such as that.
Change-Id: I7a0046b9c249568cd666720838104f48e854e203
Reviewed-on: https://code.wireshark.org/review/2612
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/CMakeLists.txt')
-rw-r--r-- | wsutil/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt index 2c80a56c17..0157e74785 100644 --- a/wsutil/CMakeLists.txt +++ b/wsutil/CMakeLists.txt @@ -93,6 +93,14 @@ set(WSUTIL_FILES ${WSUTIL_SSE42_FILES} ) +if(APPLE) + # + # We assume that APPLE means OS X so that we have the OS X + # frameworks. + # + FIND_LIBRARY (APPLE_CORE_FOUNDATION_LIBRARY CoreFoundation) +endif() + set(wsutil_LIBS ${APPLE_CORE_FOUNDATION_LIBRARY} ${GMODULE2_LIBRARIES} |