Simul Support ExchangeCmake OPENGL samples Build failed SDK
Benjamin Lucas asked 2 years ago

does anyone know how to get the opengl sdk samples built using Cmake..
im getting an errorĀ 
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a “project(Project)” command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
CMake Error at CMakeLists.txt:14 (add_static_executable):
Unknown CMake command “add_static_executable”.