Re: [CMake] is symbolic link failure cmake related issue?

2018-10-15 Thread bsmile
It could be I didn't use sudo to manually install the software. I hadn't bothered to test it out as linux mint provides it in its software repository. -- Sent from: http://cmake.3232098.n2.nabble.com/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: htt

Re: [CMake] Building arguments to target_comple_definitions()

2018-10-15 Thread Rob Boehne
Ok, Thanks! I guess I have to get better at reading error messages ☺ From: Chuck Atkins Date: Monday, October 15, 2018 at 12:19 PM To: Rob Boehne Cc: CMake Mail List Subject: Re: [CMake] Building arguments to target_comple_definitions() Hi Rob, How would one set a variable containing multipl

Re: [CMake] Building arguments to target_comple_definitions()

2018-10-15 Thread Chuck Atkins
Hi Rob, How would one set a variable containing multiple definitions to be passed > to target_compile_definitions() ? > The example you gave works (adjusting for typos, PIC, and adding visibility specifier): ... set(COMMON_DEFINITIONS SOME_DEFINE_1 SOME_DEFINE_2 SOME_DEFINE_3) ... target_compile

[CMake] is symbolic link failure cmake related issue?

2018-10-15 Thread bsmile
I try to compile nlopt package on a linux mint 18.2 virtualbox installed in a Windows 7 host. nlopt makes use of cmake for its build/compilation. After step cmake, I was told to run make, it then returns the following error messages, CMake Error: cmake_symlink_library: System Error: Read-only file

Re: [CMake] Building arguments to target_comple_definitions()

2018-10-15 Thread Rob Boehne
How would one set a variable containing multiple definitions to be passed to target_compile_definitions() ? From: Chuck Atkins Date: Friday, October 12, 2018 at 1:45 PM To: Rob Boehne Cc: CMake Mail List Subject: Re: [CMake] Building arguments to target_comple_definitions() So in CMake parl