CMake Intro - CMAKE_INSTALL_PREFIX

来源:互联网 发布:斜屋面几分水算法 编辑:程序博客网 时间:2024/05/22 12:20




There are two ways to use this variable:

  • passing it as a command line argument just like Job mentioned:

    cmake -DCMAKE_INSTALL_PREFIX=< install_path > ..

  • assigning value to it in CMakeLists.txt:

    SET(CMAKE_INSTALL_PREFIX < install_path >)


0 1
原创粉丝点击