CMake can't find CMakeLists.txt when it is there
Hello, for some reason every time i try to configure my project with CMake, i get:
"CMake Error: The source directory "C:/Users/USER/Documents/NetBeansProjects/explorer/explorer/explorer" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI."
This is the content of the file:
cmake_minimum_required(VERSION 3.1)
set(Headers
"sqlite/sqlite3.h")
set(Sources
"sqlite/sqlite3.cpp"
"main.cpp")
set(src $(Headers) $(Sources))
add_executable(explorer $(src))
Any help would be apreciated