Author: ivanovic
Date: Fri May 2 12:57:27 2008
New Revision: 26308
URL: http://svn.gna.org/viewcvs/wesnoth?rev=26308&view=rev
Log:
using the libs found by the existing cmake checks
boost should work now for others, too...
Modified:
trunk/src/CMakeLists.txt
Modified: trunk/src/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/CMakeLists.txt?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/src/CMakeLists.txt (original)
+++ trunk/src/CMakeLists.txt Fri May 2 12:57:27 2008
@@ -13,14 +13,14 @@
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
SET( the-external-libs
- SDL_image
- SDL_mixer
- SDL_net
- SDL_ttf
- SDL pthread
+ ${SDLIMAGE_LIBRARY}
+ ${SDLMIXER_LIBRARY}
+ ${SDLNET_LIBRARY}
+ ${SDLTTF_LIBRARY}
+ ${SDL_LIBRARY}
${PYTHON_LIBRARIES}
- boost_iostreams-mt
- boost_regex-mt
+ boost_iostreams
+ boost_regex
)
########### libwesnoth-core ###############
@@ -266,7 +266,7 @@
)
ADD_EXECUTABLE(exploder ${exploder_SRC})
-TARGET_LINK_LIBRARIES(exploder wesnoth-core ${the-external-libs} -lpng12)
+TARGET_LINK_LIBRARIES(exploder wesnoth-core ${the-external-libs} png12)
SET(cutter_SRC
tools/cutter.cpp
@@ -278,7 +278,7 @@
)
ADD_EXECUTABLE(cutter ${cutter_SRC})
-TARGET_LINK_LIBRARIES(cutter wesnoth-core ${the-external-libs} -lpng12)
+TARGET_LINK_LIBRARIES(cutter wesnoth-core ${the-external-libs} png12)
########### Unit tests ###############
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits