diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-09-23 08:48:58 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-09-23 08:48:58 +0300 |
commit | 789c88509c1eab8407d3451d55eb31f65150e54a (patch) | |
tree | 366ede618ad5640dbd81c028b80c64f944ff1aff | |
parent | bdf54908aa0b8dabbc67f1925de88bc88a70c935 (diff) | |
download | minetest-789c88509c1eab8407d3451d55eb31f65150e54a.tar.gz minetest-789c88509c1eab8407d3451d55eb31f65150e54a.tar.bz2 minetest-789c88509c1eab8407d3451d55eb31f65150e54a.zip |
Move PLATFORM_LIBS around to make sqlite3 link with libdl on some distros
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c479b4e73..c18bb64a7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -188,10 +188,10 @@ if(BUILD_CLIENT) ${PNG_LIBRARIES} ${X11_LIBRARIES} ${GETTEXT_LIBRARY} - ${PLATFORM_LIBS} - ${CLIENT_PLATFORM_LIBS} ${JTHREAD_LIBRARY} ${SQLITE3_LIBRARY} + ${PLATFORM_LIBS} + ${CLIENT_PLATFORM_LIBS} ) endif(BUILD_CLIENT) @@ -200,9 +200,9 @@ if(BUILD_SERVER) target_link_libraries( ${PROJECT_NAME}server ${ZLIB_LIBRARIES} - ${PLATFORM_LIBS} ${JTHREAD_LIBRARY} ${SQLITE3_LIBRARY} + ${PLATFORM_LIBS} ) endif(BUILD_SERVER) |