|
|
@ -165,10 +165,10 @@ if (LOG4CPLUS_INCLUDE_DIR) |
|
|
|
target_link_libraries(mrmc ${LOG4CPLUS_LIBRARY}) |
|
|
|
target_link_libraries(mrmc-tests ${LOG4CPLUS_LIBRARY}) |
|
|
|
# On Linux, we have to link against librt |
|
|
|
if (UNIX) |
|
|
|
target_link_libraries(mrmc rt) |
|
|
|
target_link_libraries(mrmc-tests rt) |
|
|
|
endif(UNIX) |
|
|
|
if (UNIX AND NOT APPLE) |
|
|
|
target_link_libraries(mrmc rt) |
|
|
|
target_link_libraries(mrmc-tests rt) |
|
|
|
endif(UNIX AND NOT APPLE) |
|
|
|
endif(LOG4CPLUS_INCLUDE_DIR) |
|
|
|
|
|
|
|
if (THREADS_FOUND) |
|
|
|