]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
target_link_libraries
authorTimePath <andrew.hardaker1995@gmail.com>
Fri, 22 Jan 2016 05:44:19 +0000 (16:44 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Fri, 22 Jan 2016 05:44:19 +0000 (16:44 +1100)
contrib/bobtoolz/CMakeLists.txt
contrib/brushexport/CMakeLists.txt
contrib/prtview/CMakeLists.txt
contrib/shaderplug/CMakeLists.txt
contrib/sunplug/CMakeLists.txt
contrib/ufoaiplug/CMakeLists.txt
plugins/archivezip/CMakeLists.txt
plugins/imagepng/CMakeLists.txt
plugins/mapxml/CMakeLists.txt
plugins/shaders/CMakeLists.txt
plugins/vfspk3/CMakeLists.txt

index 8d8a9597a7043fd9348389daba0630c0900bf6ce..36cc2bf535e97bb9652049bb62c2e95353826f96 100644 (file)
@@ -77,4 +77,4 @@ radiant_plugin(bobtoolz
     visfind.h
 )
 
-target_link_libraries(bobtoolz cmdlib mathlib profile)
+target_link_libraries(bobtoolz cmdlib mathlib profile ${GLIB_LIBRARIES} ${GTK2_LIBRARIES})
index 95f82797a203dd4f9d631ecea1fb6080ac31130d..fe428c27cc3f0f06a3bb0b0846ebf1862d9d5a01 100644 (file)
@@ -10,3 +10,5 @@ radiant_plugin(brushexport
     support.cpp
     support.h
 )
+
+target_link_libraries(brushexport ${GTK2_LIBRARIES})
index 66205cfbbd77fed8c165c47c1855759e7575df83..3de6304693423dfab0e5799e14876e731996b149 100644 (file)
@@ -12,4 +12,4 @@ radiant_plugin(prtview
     prtview.h
 )
 
-target_link_libraries(prtview profile)
+target_link_libraries(prtview profile ${GTK2_LIBRARIES})
index a8f3e7d485c27d19212a58cf86c7ad403be65979..df2c62976747402a0522c9044f0c19b2f8e93b73 100644 (file)
@@ -4,4 +4,4 @@ radiant_plugin(shaderplug
     shaderplug.h
 )
 
-target_link_libraries(shaderplug xmllib)
+target_link_libraries(shaderplug xmllib ${GTK2_LIBRARIES})
index 24043c98a0eae8c35f5555a051650d1b9e1b4ea8..97735735a1c75b00a50a323bec814de22f6b3312 100644 (file)
@@ -2,3 +2,5 @@ radiant_plugin(sunplug
     sunplug.cpp
     sunplug.h
 )
+
+target_link_libraries(sunplug ${GTK2_LIBRARIES})
index 5989407a0776c616f586ced9fee3195321e1ca63..f8a1569e40ee2de1d30e90be9f7ffa8ff36b5aad 100644 (file)
@@ -9,3 +9,5 @@ radiant_plugin(ufoaiplug
     ufoai_level.cpp
     ufoai_level.h
 )
+
+target_link_libraries(ufoaiplug ${GTK2_LIBRARIES})
index 42ab4614ccc5a4ecc552c32763d3df264dcd8c33..bb4357b624f3fe352ff17b4179cf0d5a49d1df7c 100644 (file)
@@ -9,3 +9,8 @@ radiant_plugin(archivezip
     zlibstream.cpp
     zlibstream.h
 )
+
+find_package(ZLIB REQUIRED)
+include_directories(${ZLIB_INCLUDE_DIRS})
+
+target_link_libraries(archivezip ${ZLIB_LIBRARIES})
index e6b32c1d3ca8f957ebce101ea1aa6299db420088..786427a2fe8910d4373b3f7ebeac0e18eaad1131 100644 (file)
@@ -2,3 +2,8 @@ radiant_plugin(imagepng
     plugin.cpp
     plugin.h
 )
+
+find_package(PNG REQUIRED)
+include_directories(${PNG_INCLUDE_DIR})
+
+target_link_libraries(imagepng ${PNG_LIBRARIES})
index f8ef48308f6472324f22ad6f843368cfaa5936a8..c57840c9a371dac8ff602e6e7577ede73eeed1b2 100644 (file)
@@ -7,3 +7,8 @@ radiant_plugin(mapxml
     xmlwrite.cpp
     xmlwrite.h
 )
+
+find_package(LibXml2 REQUIRED)
+include_directories(${LIBXML2_INCLUDE_DIR})
+
+target_link_libraries(mapxml ${LIBXML2_LIBRARIES})
index eeb7c24ce69fd2a2c055cdb08ca567993f24eb1d..1d1cbf1453ededab39024fcc83e0fda0a53a142f 100644 (file)
@@ -5,3 +5,8 @@ radiant_plugin(shaders
     shaders.cpp
     shaders.h
 )
+
+find_package(GLIB REQUIRED)
+include_directories(${GLIB_INCLUDE_DIRS})
+
+target_link_libraries(shaders ${GLIB_LIBRARIES})
index 2b0efc36a1dc20f0bb23fd2e2764f1608424eb95..e1f3daa24b7175901910e8d5255423bf3d79b0a4 100644 (file)
@@ -8,4 +8,7 @@ radiant_plugin(vfspk3
     vfspk3.h
 )
 
-target_link_libraries(vfspk3 filematch)
+find_package(GLIB REQUIRED)
+include_directories(${GLIB_INCLUDE_DIRS})
+
+target_link_libraries(vfspk3 filematch ${GLIB_LIBRARIES})