#--------------------------------------------------- # Force comparison test #---------------------------------------------------- # On Linux it appears that cmake 2.4 does not work with Cuda cmake rules CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # Define the project PROJECT(ambermd) # Define include directories INCLUDE_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/include" "$ENV{OPENMM_SOURCE_DIR}" ) LINK_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/lib" "$ENV{OPENMM_INSTALL_DIR}/lib/plugins" ) # Define the executables ADD_EXECUTABLE(benchmark benchmark.cpp amber.C amber.h parm.C parm.h strlib.C strlib.h) # Add link libraries TARGET_LINK_LIBRARIES(benchmark OpenMM)