Finally got CMake compilation to work.
[blender-staging.git] / CMakeLists.txt
index e01a37d3b3edfa2d2b834cd4d020c77c977686cf..4d722d3ca9cd72540fe027877c43afeb5153cff1 100644 (file)
@@ -184,7 +184,7 @@ IF(UNIX)
 
   SET(ZLIB_LIB z)
 
-  SET(LLIBS "-lXi -lutil -lc -lm -lpthread -lstdc++")
+  SET(LLIBS "-lXi -lutil -lc -lm -lpthread -lstdc++ -lX11 -ldl")
 
   IF(WITH_OPENMP)
     SET(LLIBS "${LLIBS} -lgomp")