Can I skip cmake compiler tests or avoid “error: unrecognized option '-rdynamic'”

前端 未结 5 1487
[愿得一人]
[愿得一人] 2021-02-02 08:11

compilation options for cmake (on windows) for ARM target system but when I run configure it\'s starting compiler tests:

CMake Error at D:/Program Files/CMake 2.         


        
5条回答
  •  深忆病人
    2021-02-02 08:49

    When cross compiling for Windows, where there is no -rdynamic option, you can use

    -DCMAKE_SYSTEM_NAME="Windows"
    

    with cmake. Then Cmake will skip the test with -rdynamic.

提交回复
热议问题