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

前端 未结 5 1493
[愿得一人]
[愿得一人] 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:44

    You can set CMAKE__COMPILER_WORKS to true to suppress further compiler checks for that language.

    set(CMAKE_C_COMPILER_WORKS 1)
    

提交回复
热议问题