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

List:       kde-commits
Subject:    KDE/kdelibs/solid
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2007-05-01 14:44:43
Message-ID: 1178030683.677632.30593.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 660099 by chehrlic:

that's the correct way to compile the lib static on win32 :)

 M  +1 -3      CMakeLists.txt  
 M  +1 -2      solid/CMakeLists.txt  


--- trunk/KDE/kdelibs/solid/CMakeLists.txt #660098:660099
@@ -3,6 +3,4 @@
                      ${KDE4_KDECORE_INCLUDES})
 
 add_subdirectory( solid )
-if(NOT WIN32)
-  add_subdirectory( tests )
-endif(NOT WIN32)
+add_subdirectory( tests )
--- trunk/KDE/kdelibs/solid/solid/CMakeLists.txt #660098:660099
@@ -106,14 +106,13 @@
 install(TARGETS solid DESTINATION ${LIB_INSTALL_DIR} )
 
 
-if(NOT WIN32)
 ########### static lib for tests  ###############
 
 kde4_add_library(solid_static STATIC ${solid_LIB_SRCS})
 
 target_link_libraries(solid_static ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY})
 
-endif(NOT WIN32)
+set_target_properties(solid_static PROPERTIES COMPILE_FLAGS -DSOLID_EXPORT=)
 
 ########### install files ###############
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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