[BACK]Return to patch-CMakeLists_txt CVS log [TXT][DIR] Up to [local] / ports / games / gemrb / patches

File: [local] / ports / games / gemrb / patches / Attic / patch-CMakeLists_txt (download)

Revision 1.1, Mon May 6 07:20:43 2013 UTC (11 years, 1 month ago) by kirby
Branch: MAIN

 - Update to 0.8.0
 - Fix build (needs more love with linking libs)
 - merge PFRAG.shared into PLIST
 - add RUN_DEPENDS
 - Correctly install config file
 - sync TODO

$OpenBSD$
--- CMakeLists.txt.orig	Mon May  6 05:09:26 2013
+++ CMakeLists.txt	Mon May  6 05:10:10 2013
@@ -348,7 +348,7 @@ MACRO(ADD_GEMRB_PLUGIN plugin_name)
 	else (STATIC_LINK)
 		ADD_LIBRARY(${plugin_name} MODULE ${PLUGIN_BUILD_FILES})
 		if (NOT UNSAFE_PLUGIN)
-			TARGET_LINK_LIBRARIES(${plugin_name} gemrb_core ${CMAKE_THREAD_LIBS_INIT})
+			TARGET_LINK_LIBRARIES(${plugin_name} gemrb_core ${CMAKE_THREAD_LIBS_INIT} -lc)
 		endif (NOT UNSAFE_PLUGIN)
 		if (CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
 			TARGET_LINK_LIBRARIES(${plugin_name} -shared-libgcc)