more linker parameters
authorPerttu Ahola <celeron55@gmail.com>
Sat, 8 Jan 2011 16:24:32 +0000 (18:24 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 8 Jan 2011 16:24:32 +0000 (18:24 +0200)
src/CMakeLists.txt

index 6aed1543fc22ae971d2e03589f8dfd2173e28ebb..f5c3ed93bbf01b8ee81d3e7661402afa810f785c 100644 (file)
@@ -16,6 +16,7 @@ if(UNIX)
        endif(BUILD_CLIENT)
        find_package(ZLIB REQUIRED)
        set(PLATFORM_LIBS -lpthread)
+       set(CLIENT_PLATFORM_LIBS -lXxf86vm)
 elseif(WIN32)
        # Windows
        # Surpress some warnings
@@ -117,6 +118,7 @@ if(BUILD_CLIENT)
                ${X11_LIBRARIES}
                jthread
                ${PLATFORM_LIBS}
+               ${CLIENT_PLATFORM_LIBS}
        )
 endif(BUILD_CLIENT)
 if(BUILD_SERVER)