提交 973435cb 编写于 作者: B BtbN

Move config include path, so it works for the exported target

上级 3b26db38
......@@ -66,9 +66,6 @@ endif()
if(NOT INSTALLER_RUN)
add_subdirectory(deps)
add_definitions(-DHAVE_CONFIG_H=1)
include_directories("${CMAKE_BINARY_DIR}/config")
add_subdirectory(libobs)
if(WIN32)
......
......@@ -270,6 +270,7 @@ endif()
target_include_directories(libobs PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/config>"
"$<INSTALL_INTERFACE:${OBS_INCLUDE_DESTINATION}>")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册