• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cmake Compile Problem

storms12

Active Member
Joined
Sep 26, 2020
Messages
79
Solutions
2
Reaction score
26
Location
Malbork
Hello I have problem
Have tfs 1.5 and if compile server have this warring
if I click make nothing happens

I am make this

$ mkdir build && cd build
$ cmake ..
$ make and if I click make nothing happens


then have this warring


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.

CMake Warning (dev) at CMakeLists.txt:1 (set):
Cannot set "tfs_SRC": current scope has no parent.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/src/build

if anyone can and will help me I will be grateful
 
Last edited:
Back
Top