~team-scandraid/scandraid/ScanDraiD

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Arno Wilhelm
  • Date: 2009-03-18 23:00:24 UTC
  • Revision ID: a.w@quirxi.net-20090318230024-qz3tj3iiifkil0bk
Added find_package directive and PROJECTNAME variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AUX_SOURCE_DIRECTORY( . SOURCES )
 
1
aux_source_directory( . SOURCES )
2
2
#message("${SOURCES}")
3
 
add_executable (ScanDraiD ${SOURCES})
4
 
target_link_libraries(ScanDraiD jpeg)
5
 
 
6
 
 
 
3
find_package(JPEG REQUIRED)
 
4
include_directories(${JPEG_INCLUDE_DIR})
 
5
add_executable(${PROJECTNAME} ${SOURCES})
 
6
target_link_libraries(${PROJECTNAME} ${JPEG_LIBRARIES})