Skip to content

Commit

Permalink
Minor cleanup to CMake scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
peastman committed Aug 12, 2021
1 parent 608b697 commit e8381af
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 e8381af

Please sign in to comment.