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

List:       kde-commits
Subject:    =?utf-8?q?=5Bakonadi-facebook=5D_/=3A_The_=27lib=27_prefix_is_no?=
From:       Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date:       2011-03-13 13:07:09
Message-ID: 20110313130709.DBA23A609B () git ! kde ! org
[Download RAW message or body]

Git commit f79818d21cf0167b0893363deb350dd0dc9344d5 by Christophe Giboudeaux.
Committed on 13/03/2011 at 14:07.
Pushed by cgiboudeaux into branch 'master'.

The 'lib' prefix is not needed or you'll end up with liblibkfacebook.

M  +6    -6    libkfacebook/CMakeLists.txt     
M  +1    -1    resource/CMakeLists.txt     

http://commits.kde.org/akonadi-facebook/f79818d21cf0167b0893363deb350dd0dc9344d5

diff --git a/libkfacebook/CMakeLists.txt b/libkfacebook/CMakeLists.txt
index 8d3ccaf..08ce043 100644
--- a/libkfacebook/CMakeLists.txt
+++ b/libkfacebook/CMakeLists.txt
@@ -15,13 +15,13 @@ set(libkfacebook_SRCS
   eventjob.cpp
 )
 
-kde4_add_library(libkfacebook SHARED ${libkfacebook_SRCS})
+kde4_add_library(kfacebook SHARED ${libkfacebook_SRCS})
 
 set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
 
 # Yes, QJSON_LIBRARIES and QJSON_LIBRARY are both needed, as otherwise it will break either
 # on Linux or on Mac.
-target_link_libraries(libkfacebook
+target_link_libraries(kfacebook
   ${KDE4_KDECORE_LIBS}
   ${KDE4_KDEUI_LIBS}
   ${QT_QTGUI_LIBRARY}
@@ -35,10 +35,10 @@ target_link_libraries(libkfacebook
 )
 
 if(KDEPIM_44_COMPAT)
-  target_link_libraries(libkfacebook ${KDEPIMLIBS_KCAL_LIBS})
+  target_link_libraries(kfacebook ${KDEPIMLIBS_KCAL_LIBS})
 else(KDEPIM_44_COMPAT)
-  target_link_libraries(libkfacebook ${KDEPIMLIBS_KCALCORE_LIBS})
+  target_link_libraries(kfacebook ${KDEPIMLIBS_KCALCORE_LIBS})
 endif(KDEPIM_44_COMPAT)
 
-set_target_properties(libkfacebook PROPERTIES VERSION ${LIB_VERSION} SOVERSION ${LIB_SOVERSION})
-install(TARGETS libkfacebook ${INSTALL_TARGETS_DEFAULT_ARGS})
+set_target_properties(kfacebook PROPERTIES VERSION ${LIB_VERSION} SOVERSION ${LIB_SOVERSION})
+install(TARGETS kfacebook ${INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/resource/CMakeLists.txt b/resource/CMakeLists.txt
index 91993ee..96f93b5 100644
--- a/resource/CMakeLists.txt
+++ b/resource/CMakeLists.txt
@@ -55,7 +55,7 @@ target_link_libraries( akonadi_facebook_resource
   ${QT_QTGUI_LIBRARY}
   ${QT_QTDBUS_LIBRARY}
   ${KDE4_KDECORE_LIBS}
-  libkfacebook
+  kfacebook
 )
 
 if(KDEPIM_44_COMPAT)

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

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