#--------------------------------------------------- # 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-parameters) # 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-parameters test-parameters.cpp) # Add link libraries TARGET_LINK_LIBRARIES(test-parameters OpenMM)