Linux: unitsync/CMakeLists.txt additional GLEW library
Posted: 29 Sep 2008, 13:17
For compling from source on Linux x86_64 (not sure if this applies on other systems) using CMake, it appears that the util library must be specified in unitsync/CMakeLists.txt to build a working libunitsync.so (otherwise get an undefined symbol: forkpty error):
Code: Select all
--- src/spring/tools/unitsync/CMakeLists.txt 2008-09-27 17:43:38.000000000 +0100
+++ src/spring/tools/unitsync/CMakeLists1.txt 2008-09-27 17:43:27.000000000 +0100
@@ -12,7 +12,7 @@
FIND_PACKAGE(GLEW REQUIRED)
- set (unitsync_libs ${GLEW_LIBRARIES} IL openal GL GLU)
+ set (unitsync_libs ${GLEW_LIBRARIES} IL openal GL GLU util)
FIND_PACKAGE(PythonLibs)
if (PYTHONLIBS_FOUND)