1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/wesnoth/files/patch-src-CMakeLists.txt
Alex Kozlov fb119a6b0d - Update to 1.10.3 (see http://changelog.wesnoth.org for details)
PR:	ports/165332
Submitted by	Rusty Nejdl <rnejdl@ringofsaturn.com>
Approved by:	philip (maintainer timeout 14w), eadler, itetcu (mentors, implicit)
2012-06-10 13:08:48 +00:00

23 lines
659 B
Plaintext

--- src/CMakeLists.txt~
+++ src/CMakeLists.txt
@@ -123,7 +123,7 @@ set(tools-external-libs
)
if(ENABLE_FRIBIDI AND FRIBIDI_LIBRARIES)
- include_directories( ${FRIBIDI_INCLUDE_DIR} )
+ include_directories( ${FRIBIDI_INCLUDE_DIRS} )
set(game-external-libs ${game-external-libs} ${FRIBIDI_LIBRARIES})
endif(ENABLE_FRIBIDI AND FRIBIDI_LIBRARIES)
@@ -826,7 +833,9 @@ if(ENABLE_TESTS)
boost_unit_test_framework
)
set_target_properties(test
- PROPERTIES OUTPUT_NAME ${BINARY_PREFIX}test${BINARY_SUFFIX}
+ PROPERTIES OUTPUT_NAME ${BINARY_PREFIX}wesnoth_test${BINARY_SUFFIX}
)
+
+ install(TARGETS test DESTINATION ${BINDIR})
endif(ENABLE_TESTS)