summaryrefslogtreecommitdiff
blob: edacd73629f30b3b0f4fe8873d68e993096434d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -urN graphite2-1.0.1.old/src/CMakeLists.txt graphite2-1.0.1/src/CMakeLists.txt
--- graphite2-1.0.1.old/src/CMakeLists.txt	2011-08-11 10:57:24.737639566 +0200
+++ graphite2-1.0.1/src/CMakeLists.txt	2011-08-11 10:57:47.880350242 +0200
@@ -103,7 +103,6 @@
      -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fdiagnostics-show-option
      -fno-rtti -fno-exceptions -nodefaultlibs
      -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector)
-    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nodefaultlibs" LINKER_LANGUAGE C)
     if (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
         target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32")
     else (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")