[CMake] How can I write cmake file for _mm_malloc?

Water Lin WaterLin at ymail.com
Wed Dec 9 04:51:46 EST 2009


I am a new guy for CMake tool and I am trying to learn it.

Now in my program, I need to use function _mm_malloc, but I don't know
how I can involve it in CMakeLists.txt file?

After generating the makefile and compiling by command make, the shell
always prompts me "undefined reference to `_mm_malloc'".

Hope somebody can help me. Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin at ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the CMake mailing list