summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Zieliński <michal@zielinscy.org.pl>2012-12-14 10:10:07 -0800
committerMichał Zieliński <michal@zielinscy.org.pl>2012-12-14 10:10:07 -0800
commit3f79167323e099ebf7ede9460d454958926f55a1 (patch)
tree51c062a20ca5210b151fb7a23b5e1f608fc9ec14 /src
parent3b896370045c9d38b5014578a9395a0a95fcb5f1 (diff)
parent9b127fc0a349972b1312866766f288534b1d47e4 (diff)
downloadcolobot-3f79167323e099ebf7ede9460d454958926f55a1.tar.gz
colobot-3f79167323e099ebf7ede9460d454958926f55a1.tar.bz2
colobot-3f79167323e099ebf7ede9460d454958926f55a1.zip
Merge pull request #85 from OdyX/cmake_find_ltdl
Add FindLTDL cmake module
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/plugins/test/CMakeLists.txt2
-rw-r--r--src/sound/plugins/oalsound/test/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f59abbc..f68a1d5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -173,7 +173,7 @@ ${PNG_LIBRARIES}
${OPTIONAL_LIBS}
${PLATFORM_LIBS}
${Boost_LIBRARIES}
-ltdl
+${LTDL_LIBRARY}
CBot
)
diff --git a/src/plugins/test/CMakeLists.txt b/src/plugins/test/CMakeLists.txt
index 5f86b6f..a68de2c 100644
--- a/src/plugins/test/CMakeLists.txt
+++ b/src/plugins/test/CMakeLists.txt
@@ -9,4 +9,4 @@ include_directories(".")
include_directories("../../")
include_directories("../../../")
-target_link_libraries(manager_test ltdl)
+target_link_libraries(manager_test ${LTDL_LIBRARY})
diff --git a/src/sound/plugins/oalsound/test/CMakeLists.txt b/src/sound/plugins/oalsound/test/CMakeLists.txt
index d10169b..f7b165c 100644
--- a/src/sound/plugins/oalsound/test/CMakeLists.txt
+++ b/src/sound/plugins/oalsound/test/CMakeLists.txt
@@ -8,4 +8,4 @@ add_executable(plugin_test plugin_test.cpp ../../../../common/iman.cpp ../../../
include_directories(".")
include_directories("../../../../")
-target_link_libraries(plugin_test ltdl)
+target_link_libraries(plugin_test ${LTDL_LIBRARY})