wfreerdp: don't install keymaps on Windows

This commit is contained in:
Marc-André Moreau 2012-07-31 16:14:17 -04:00
parent a1c5768dc8
commit 9a553701c5

View File

@ -145,8 +145,10 @@ include_directories(${CMAKE_SOURCE_DIR}/include)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
# Generate pkg-config
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/freerdp.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
if(NOT MSVC)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/freerdp.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif()
# Build CUnit
find_optional_package(CUnit)
@ -182,7 +184,9 @@ if(WITH_SERVER)
add_subdirectory(server)
endif()
add_subdirectory(keymaps)
if(NOT MSVC)
add_subdirectory(keymaps)
endif()
# Source package
set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git/;/\\\\.gitignore;/CMakeCache.txt")