This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Not able to build nRF Mesh SDK examples

After downloading and installing nrf mesh SDK as directed here https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/index. I'm not able to build any examples, I am getting this error for all the examples while doing cmake

-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:36 (set_target_link_options):
  Unknown CMake command "set_target_link_options".

Couldn't figure out any particular reason for this. Any help would be appreciated.

Related