[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [KDevPlatform] efebf6c: Build on OSX.
From:       Till Adam <till () kdab ! com>
Date:       2010-12-12 19:21:07
Message-ID: 20101212192107.AC3E5A60B0 () git ! kde ! org
[Download RAW message or body]

commit efebf6c16e1195715563bf5ddbdd209aaad2362d
branch master
Author: Till Adam <till@kdab.com>
Date:   Sun Dec 12 20:16:00 2010 +0100

    Build on OSX.

diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt
index b7d9a0e..0a54f88 100644
--- a/interfaces/CMakeLists.txt
+++ b/interfaces/CMakeLists.txt
@@ -53,7 +53,10 @@ target_link_libraries(kdevplatforminterfaces
         ${KDE4_THREADWEAVER_LIBRARIES} 
         ${QT_QTDESIGNER_LIBRARY} 
         ${KDE4_KROSSCORE_LIBS}
-        rt)
+        )
+if (NOT APPLE)
+  target_link_libraries(kdevplatforminterfaces rt)
+endif (NOT APPLE)
 
 if(CMAKE_HAVE_THREADS_LIBRARY)
     target_link_libraries(kdevplatforminterfaces ${CMAKE_THREAD_LIBS_INIT})
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic