~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to test/sample/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id$
 
2
#
 
3
# Build sample programs
 
4
#
 
5
SET( SAMPLE_READ sample_read )
 
6
SET( SAMPLE_WRITE sample_write )
 
7
SET( SAMPLE_FILES sample_files )
 
8
 
 
9
INCLUDE_DIRECTORIES(
 
10
    ../../include
 
11
)
 
12
 
 
13
ADD_EXECUTABLE( ${SAMPLE_READ} read.cpp )
 
14
ADD_EXECUTABLE( ${SAMPLE_WRITE} write.cpp )
 
15
ADD_EXECUTABLE( ${SAMPLE_FILES} files.cpp )
 
16
 
 
17
TARGET_LINK_LIBRARIES( ${SAMPLE_READ} ${LIBLAS_LIB_NAME} )
 
18
TARGET_LINK_LIBRARIES( ${SAMPLE_WRITE} ${LIBLAS_LIB_NAME} )
 
19
TARGET_LINK_LIBRARIES( ${SAMPLE_FILES} ${LIBLAS_LIB_NAME} )