Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 35443420ae0bcc6ce92b762c146a2028 > files > 1

opencc-0.3.0-1.mga2.src.rpm

--- src/CMakeLists.txt.static	2012-01-02 09:53:34.218683610 +0100
+++ src/CMakeLists.txt	2012-01-02 09:53:59.388478118 +0100
@@ -103,12 +103,14 @@
 )
 endif (NOT WIN32)
 
+if (BUILD_STATIC_LIBS)
 install(
 	TARGETS
 		${LIBOPENCC_STATIC_TARGET}
 	ARCHIVE DESTINATION
 		${DIR_LIBRARY_STATIC}
 )
+endif (BUILD_STATIC_LIBS)
 
 install(
 	FILES