project( ptedit_1 )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
find_package( KDE4 REQUIRED )
SET( MAIN_PROJECT_NAME ${PROJECT_NAME})
INCLUDE_DIRECTORIES( ${KDE4_INCLUDES}  )
SET(CPACK_SET_DESTDIR "ON")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
include_directories( ${KDE4_INCLUDE_DIRS} ${libkdepim_INCLUDES})
add_definitions( ${KDE4_DEFINITIONS} )
set( SOURCES src/ptedit_1.cpp )
kde4_add_ui_files( ptedit_1 ${CMAKE_SOURCE_DIR} ptedit_1.ui )
kde4_add_executable( ptedit_1 ${ptedit_1Sources}  ${CMAKE_SOURCE_DIR})
target_link_libraries( ptedit_1 ${KDE4_KDEUI_LIBS} )
install(TARGETS ptedit_1 ${INSTALL_TARGETS_DEFAULT_ARGS})


I am getting error-CMake Error: CMake can not determine linker language for 
target:ptedit_1
CMake Error: Cannot determine link language for target "ptedit_1".
Please suggest what should I modify in this file and how? I tried hard but 
unable to find what is wrong please help
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to