From: Perttu Ahola Date: Fri, 23 Sep 2011 05:48:58 +0000 (+0300) Subject: Move PLATFORM_LIBS around to make sqlite3 link with libdl on some distros X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=789c88509c1eab8407d3451d55eb31f65150e54a;p=zefram%2Fminetest%2Fminetest_engine.git Move PLATFORM_LIBS around to make sqlite3 link with libdl on some distros --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c479b4e7..c18bb64a 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)