CMake files for Windows are incomplete.
kingc8 opened this issue · 3 comments
CMake Error at CMakeLists.txt:38 (add_subdirectory):
The source directory
C:/Users/MasonStorm/Downloads/OpenCL-SDK-main/external/OpenCL-ICD-Loader
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:41 (set_target_properties):
set_target_properties Can not find target to add properties to: OpenCL
Configuring incomplete, errors occurred!
Best regards.
Ok, well, I'll do it another way. I just clicked on "clone" downloaded as a zip, unzipped it into Downloads folder.
I then open Cmake GUI and set the source directory as a the root directory of the OpenCL-SDK and created a folder in the root folder called "build" as a target location for the build process.
Is that really not going to work?
Indeed,
git clone --recursive https://github.com/KhronosGroup/OpenCL-SDK.git
on the Powershell fetches everything.
Thanks a lot.
Closing issue.