Merge pull request #80 from floppym/gentoo-patches

Build system fixes
This commit is contained in:
Marc-André Moreau 2011-09-06 11:53:19 -07:00
commit 0d412ba629
2 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ endif()
# Build CUnit
find_optional_package(CUnit)
if(CUNIT_FOUND)
add_subdirectory(cunit)
enable_testing()
add_subdirectory(cunit)
endif()
# Sub-directories

View File

@ -45,7 +45,7 @@ if(WITH_MANPAGES)
add_custom_target(xfreerdp.manpage ALL
DEPENDS xfreerdp.1)
install(FILES xfreerdp.1 DESTINATION share/man/man1)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION share/man/man1)
else(XMLTO_FOUND)
message(WARNING "WITH_MANPAGES was set, but xmlto was not found. man-pages will not be installed")
endif(XMLTO_FOUND)