mirror of https://github.com/CGAL/cgal
CMakeLists.txt is needed as tests depend on PDB lib
This commit is contained in:
parent
6033a4e702
commit
e6a1b7fa2f
|
|
@ -0,0 +1,31 @@
|
|||
# This is the CMake script for compiling a CGAL application.
|
||||
|
||||
project( pdb )
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
|
||||
|
||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
|
||||
find_package(CGAL REQUIRED PDB )
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
|
||||
if (CGAL_PDB_FOUND )
|
||||
|
||||
include(CreateSingleSourceCGALProgram)
|
||||
|
||||
create_single_source_cgal_program( check_bonds.cpp )
|
||||
create_single_source_cgal_program( check_heatom.cpp )
|
||||
create_single_source_cgal_program( check_pdb.cpp )
|
||||
create_single_source_cgal_program( check_protein.cpp )
|
||||
create_single_source_cgal_program( check_refine_alignment.cpp )
|
||||
create_single_source_cgal_program( check_transform.cpp )
|
||||
create_single_source_cgal_program( check_transforms.cpp )
|
||||
|
||||
|
||||
|
||||
else()
|
||||
|
||||
message(STATUS "NOTICE: This demo requires PDB, and will not be compiled.")
|
||||
|
||||
endif()
|
||||
Loading…
Reference in New Issue