summaryrefslogtreecommitdiff
blob: 2f1937d84b3f05a28f5cd8b9fcc5b500e6414a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required (VERSION 2.6)
project (PDBMAT Fortran)

option (EXAMPLES "Instal additional example files" OFF)

add_executable(diagstd diagstd.f)
add_executable(pdbmat pdbmat.f)

install (TARGETS diagstd pdbmat DESTINATION bin)
install (FILES diagstd.README pdbmat.README DESTINATION share/doc/pdbmat)

if ( EXAMPLES )
	install (DIRECTORY ../Try_ENM2011 DESTINATION share/pdbmat/examples)
endif (EXAMPLES)