Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake #29

Closed
mozoho77 opened this issue Apr 15, 2019 · 1 comment
Closed

cmake #29

mozoho77 opened this issue Apr 15, 2019 · 1 comment

Comments

@mozoho77
Copy link

I have cmake problem when trying to compile. Why include_subdirectory is unknown command >


cmake version 3.7.2
CMake Error at CMakeLists.txt:1 (INCLUDE_SUBDIRECTORY):
  Unknown CMake command "INCLUDE_SUBDIRECTORY".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.7)  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

../CMakeLists.txt

CMAKE_MINIMUM_REQUIRED( VERSION 3.7 )
# allow more human readable "if then else" constructs
#SET( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE )
# Add the local Find*.cmake scripts
LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)

PROJECT( CellSearch )
ENABLE_TESTING()

@velichkov
Copy link

Hi @mozoho77,

CMake Error at CMakeLists.txt:1 (INCLUDE_SUBDIRECTORY):
Unknown CMake command "INCLUDE_SUBDIRECTORY".

This looks like jocover/OpenUSRP#8

Have you done any modifications to CMakeLists.txt or any other file?
Could you provide list of all commands that you have executed (with all their arguments)?
If you are following some instructions (tutorial, blog post or something) provide a link to it.

Provide the full output of following commands executed in LTE-Cell-Scanner directory.

git describe --always
git status
grep INCLUDE_SUBDIRECTORY . -R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants