#--------------------------------------------------- # Platform energy 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(test-platforms) # Define include directories INCLUDE_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/include" ) LINK_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/lib" "$ENV{OPENMM_INSTALL_DIR}/lib/plugins" ) # Define the executables ADD_EXECUTABLE(test-platforms test-platforms.cpp) # Add link libraries TARGET_LINK_LIBRARIES(test-platforms OpenMM)