Skip to content

Commit 6340817

Browse files
authored
Merge pull request #25 from peastman/cmake
Minor cleanup to CMake scripts
2 parents 608b697 + e8381af commit 6340817

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# OpenMM Example Plugin
33
#----------------------------------------------------
44

5-
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
5+
CMAKE_MINIMUM_REQUIRED(VERSION 3.17)
6+
7+
PROJECT(OpenMMExamplePlugin)
68

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

8789
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")
88-
FIND_PACKAGE(OpenCL QUIET)
90+
FIND_PACKAGE(OPENCL QUIET)
8991
IF(OPENCL_FOUND)
9092
SET(EXAMPLE_BUILD_OPENCL_LIB ON CACHE BOOL "Build implementation for OpenCL")
9193
ELSE(OPENCL_FOUND)

platforms/cuda/EncodeCUDAFiles.cmake

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)