We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 608b697 commit e8381afCopy full SHA for e8381af
2 files changed
CMakeLists.txt
@@ -2,7 +2,9 @@
2
# OpenMM Example Plugin
3
#----------------------------------------------------
4
5
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.17)
6
+
7
+PROJECT(OpenMMExamplePlugin)
8
9
# We need to know where OpenMM is installed so we can access the headers and libraries.
10
SET(OPENMM_DIR "/usr/local/openmm" CACHE PATH "Where OpenMM is installed")
@@ -85,7 +87,7 @@ ADD_SUBDIRECTORY(platforms/reference)
85
87
ADD_SUBDIRECTORY(platforms/common)
86
88
89
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")
-FIND_PACKAGE(OpenCL QUIET)
90
+FIND_PACKAGE(OPENCL QUIET)
91
IF(OPENCL_FOUND)
92
SET(EXAMPLE_BUILD_OPENCL_LIB ON CACHE BOOL "Build implementation for OpenCL")
93
ELSE(OPENCL_FOUND)
platforms/cuda/EncodeCUDAFiles.cmake
0 commit comments