comparison ui/CMakeLists.txt @ 1220:60927efa48cc

(issue128) Add manifest for the correct execution level.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 24 Sep 2014 11:42:29 +0200
parents 3ee529f42974
children 8897c90b8166
comparison
equal deleted inserted replaced
1219:cc86f69d6ac3 1220:60927efa48cc
34 set(UICOMMON_SOURCES ${UICOMMON_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/sslconnection_curl.cpp) 34 set(UICOMMON_SOURCES ${UICOMMON_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/sslconnection_curl.cpp)
35 add_definitions(-DUSE_CURL -DCURL_STATICLIB) 35 add_definitions(-DUSE_CURL -DCURL_STATICLIB)
36 elseif (${USE_CURL}) 36 elseif (${USE_CURL})
37 MESSAGE(FATAL_ERROR "libcurl not found but usage of curl is requested.") 37 MESSAGE(FATAL_ERROR "libcurl not found but usage of curl is requested.")
38 endif() 38 endif()
39
40 # Cmake does not correctly identify gcc windres when cross compiling
41 # making this line neccessary to set the correct flags for it.
42 # See: http://public.kitware.com/Bug/view.php?id=11773
43 SET(CMAKE_RC_COMPILE_OBJECT
44 "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -Ocoff <SOURCE> <OBJECT>")
45 39
46 set(TRUSTBRIDGE_SOURCES 40 set(TRUSTBRIDGE_SOURCES
47 ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp 41 ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp
48 ${CMAKE_CURRENT_SOURCE_DIR}/helpdialog.cpp 42 ${CMAKE_CURRENT_SOURCE_DIR}/helpdialog.cpp
49 ${CMAKE_CURRENT_SOURCE_DIR}/certificatelistwidget.cpp 43 ${CMAKE_CURRENT_SOURCE_DIR}/certificatelistwidget.cpp

http://wald.intevation.org/projects/trustbridge/