Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

core/build_api.cmake:19 - CMAKE_SYSTEM_NAME is blank #3

Closed
vladislavmarkov opened this issue Nov 24, 2017 · 3 comments
Closed

core/build_api.cmake:19 - CMAKE_SYSTEM_NAME is blank #3

vladislavmarkov opened this issue Nov 24, 2017 · 3 comments
Labels

Comments

@vladislavmarkov
Copy link

vladislavmarkov commented Nov 24, 2017

Hello,
I'm using CMake 3.9.6. I got this error while going through instructions listed in README.md.

$ nix-shell core --pure
[nix-shell:~/test/theCore-blinky]$ mkdir build
[nix-shell:~/test/theCore-blinky]$ cd build
[nix-shell:~/test/theCore-blinky/build]$ cmake -DCMAKE_TOOLCHAIN_FILE=../core/toolchains/arm-cm4-gnu.cmake ..
CMake Error at core/build_api.cmake:19 (if):
  if given arguments:

    "Linux" "STREQUAL"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:4 (include)


-- Configuring incomplete, errors occurred!

CMAKE_SYSTEM_NAME is blank unless "project(whatever)" specified prior to reading CMAKE_SYSTEM_NAME variable.

@forGGe forGGe added the bug label Nov 24, 2017
@forGGe
Copy link
Collaborator

forGGe commented Nov 24, 2017

Hi @vladislavmarkov ! Thanks for reporting. I will look to it ASAP.

@forGGe
Copy link
Collaborator

forGGe commented Nov 24, 2017

Fixed in #4, merged.
Let me know if that works for you.

This blinky project is working with latest release, but many cool features were implemented since then.
Check examples in https://forgge.github.io/theCore/examples.html to get idea of what's new there.

@vladislavmarkov
Copy link
Author

Yup. Just checked this. Now everything is cool. And thanks for fixing the 'template C linker' stuff, btw.

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

No branches or pull requests

2 participants