Author: ivanovic
Date: Fri May 2 12:49:34 2008
New Revision: 26307
URL: http://svn.gna.org/viewcvs/wesnoth?rev=26307&view=rev
Log:
correct some linker flag stuff, python2.4 should now work...
Modified:
trunk/src/CMakeLists.txt
Modified: trunk/src/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/CMakeLists.txt?rev=26307&r1=26306&r2=26307&view=diff
==============================================================================
--- trunk/src/CMakeLists.txt (original)
+++ trunk/src/CMakeLists.txt Fri May 2 12:49:34 2008
@@ -10,15 +10,17 @@
# needed to get include paths in the subfolders correct
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/ )
+LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
+
SET( the-external-libs
- -lSDL_image
- -lSDL_mixer
- -lSDL_net
- -lSDL_ttf
- -lSDL -lpthread
- -lpython2.5
- -lboost_iostreams-mt
- -lboost_regex-mt
+ SDL_image
+ SDL_mixer
+ SDL_net
+ SDL_ttf
+ SDL pthread
+ ${PYTHON_LIBRARIES}
+ boost_iostreams-mt
+ boost_regex-mt
)
########### libwesnoth-core ###############
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits