sweenal / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

CMakeLists.txt overwrites custom CMAKE_CXX_FLAGS #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run CMake with custom CMAKE_CXX_FLAGS, e.g. cmake -DCMAKE_CXX_FLAGS="-fPIC"
2. Compile via make VERBOSE=1
3. Observe that -fPIC is not in the compiler commands.

What is the expected output? What do you see instead?
The flags passed in should be in the command line.

What version of the product are you using? On what operating system?
r788

Please provide any additional information below.
A patch which simply appends -Wall instead of overwriting the variable is 
attached.

Original issue reported on code.google.com by echesl...@gmail.com on 13 Jan 2011 at 8:53

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for providing this patch.

It has been applied in r804.

Original comment by opencollada2@googlemail.com on 18 Jan 2011 at 2:02