# HG changeset patch
# User Michael Palimaka <kensington@gentoo.org>
# Date 1359484092 -39600
# Wed Jan 30 05:28:12 2013 +1100
# Node ID 99a2017746c0e4186b3ceb480ca2d9f395a07b86
# Parent e150672a54adaa0f09ff123a9c5b8973fe399e6c
Fix underlinking.
diff -r e150672a54ad -r 99a2017746c0 OpenGTL/GTLCore/CMakeLists.txt
|
|
|
10 | 10 | |
11 | 11 | ## GTLCore library ## |
12 | 12 | |
| 13 | if(PTHREAD_FOUND) |
| 14 | set(GTLCore_Thread_LIBS pthread) |
| 15 | endif(PTHREAD_FOUND) |
| 16 | |
13 | 17 | set(GTLCore_SRCS |
14 | 18 | AbstractColorConverter.cpp |
15 | 19 | AbstractImage.cpp |
… |
… |
|
110 | 114 | set(EXTRA_GTLCORE_LINK_OPTIONS -Wl,-u,__ZTVN4llvm3JITE ) |
111 | 115 | endif() |
112 | 116 | |
113 | | target_link_libraries(GTLCore ${LLVM_LDFLAGS} ${LLVM_LIBS} ${EXTRA_GTLCORE_LINK_OPTIONS}) |
| 117 | target_link_libraries(GTLCore ${LLVM_LDFLAGS} ${LLVM_LIBS} ${GTLCore_Thread_LIBS} ${EXTRA_GTLCORE_LINK_OPTIONS}) |
114 | 118 | |
115 | 119 | # Set the ABI version of the library |
116 | 120 | set_target_properties(GTLCore PROPERTIES VERSION ${OPENGTL_LIB_VERSION} SOVERSION ${OPENGTL_LIB_SOVERSION} ) |