openbsd-ports/x11/kde4/libs/patches/patch-cmake_modules_KDE4Macros_cmake

13 lines
470 B
Plaintext

$OpenBSD: patch-cmake_modules_KDE4Macros_cmake,v 1.3 2008/02/09 13:18:16 espie Exp $
--- cmake/modules/KDE4Macros.cmake.orig Thu Jan 31 00:53:57 2008
+++ cmake/modules/KDE4Macros.cmake Fri Feb 1 19:47:26 2008
@@ -861,6 +861,8 @@ macro (KDE4_ADD_EXECUTABLE _target_NAME)
target_link_libraries(${_target_NAME} ${QT_QTMAIN_LIBRARY})
endif (WIN32)
+ set_target_properties(${_target_NAME} PROPERTIES LINKER_LANGUAGE CXX)
+
endmacro (KDE4_ADD_EXECUTABLE)