mirror of https://gitee.com/cxasm/notepad--.git
windows-universal: 在安装时移除 CMAKE_INSTALL_PREFIX 变量
This commit is contained in:
parent
12b1a0717c
commit
029cf14a10
|
@ -62,10 +62,10 @@ if(CMAKE_HOST_WIN32)
|
|||
set(NOTEPAD_PLUGIN_EXTERNAL_PLUGIN_INSTALL_DIRECTORY "")
|
||||
|
||||
# 这些是在此部分安装时使用,但不被用于填充 NotepadPlugin.cmake.in 的内容
|
||||
set(NOTEPAD_PLUGIN_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/${NOTEPAD_PLUGIN})
|
||||
set(NOTEPAD_PLUGIN_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/${NOTEPAD_PLUGIN})
|
||||
|
||||
set(NOTEPAD_PLUGIN_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR}/${NOTEPAD_PLUGIN})
|
||||
set(NOTEPAD_PLUGIN_LIBDIR ${CMAKE_INSTALL_LIBDIR}/${NOTEPAD_PLUGIN})
|
||||
|
||||
|
||||
# 将 NOTEPAD_PLUGIN_INCLUDEDIR NOTEPAD_PLUGIN_LIBDIR 填充到 cmake 文件
|
||||
configure_package_config_file(cmake/NotepadPluginConfig.cmake.in
|
||||
${CMAKE_BINARY_DIR}/${NOTEPAD_PLUGIN_CONFIG}
|
||||
|
|
Loading…
Reference in New Issue