~ubuntu-branches/ubuntu/precise/kalzium/precise

« back to all changes in this revision

Viewing changes to compoundviewer/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-03 12:28:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110703122858-q1yyxncs89e4w0hs
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include(${Avogadro_USE_FILE})
 
2
 
 
3
include_directories(
 
4
  ${CMAKE_CURRENT_BINARY_DIR}/..
 
5
  ${EIGEN2_INCLUDE_DIR}
 
6
  ${OPENBABEL2_INCLUDE_DIR}
 
7
  )
 
8
 
 
9
set( compoundviewer_SRCS
 
10
  openbabel2wrapper.cpp
 
11
  kalziumglwidget.cpp
 
12
  )
 
13
 
 
14
#add_subdirectory(widgets)
 
15
 
 
16
kde4_add_library(compoundviewer SHARED ${compoundviewer_SRCS})
 
17
 
 
18
target_link_libraries(compoundviewer
 
19
   ${OPENBABEL2_LIBRARIES}
 
20
   ${QT_QTOPENGL_LIBRARY}
 
21
   ${KDE4_KDEUI_LIBS}
 
22
   avogadro
 
23
)
 
24
 
 
25
set_target_properties(compoundviewer PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
 
26
 
 
27
install(TARGETS compoundviewer ${INSTALL_TARGETS_DEFAULT_ARGS})