Skip to content

Commit

Permalink
Merge pull request #25 from peastman/cmake
Browse files Browse the repository at this point in the history
Minor cleanup to CMake scripts
  • Loading branch information
peastman authored Aug 12, 2021
2 parents 608b697 + e8381af commit 6340817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# OpenMM Example Plugin
#----------------------------------------------------

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
CMAKE_MINIMUM_REQUIRED(VERSION 3.17)

PROJECT(OpenMMExamplePlugin)

# We need to know where OpenMM is installed so we can access the headers and libraries.
SET(OPENMM_DIR "/usr/local/openmm" CACHE PATH "Where OpenMM is installed")
Expand Down Expand Up @@ -85,7 +87,7 @@ ADD_SUBDIRECTORY(platforms/reference)
ADD_SUBDIRECTORY(platforms/common)

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")
FIND_PACKAGE(OpenCL QUIET)
FIND_PACKAGE(OPENCL QUIET)
IF(OPENCL_FOUND)
SET(EXAMPLE_BUILD_OPENCL_LIB ON CACHE BOOL "Build implementation for OpenCL")
ELSE(OPENCL_FOUND)
Expand Down
27 changes: 0 additions & 27 deletions platforms/cuda/EncodeCUDAFiles.cmake

This file was deleted.

0 comments on commit 6340817

Please sign in to comment.