Skip to content
Snippets Groups Projects
Commit 973435cb authored by BtbN's avatar BtbN
Browse files

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

parent 3b26db38
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,6 @@ endif() ...@@ -66,9 +66,6 @@ endif()
if(NOT INSTALLER_RUN) if(NOT INSTALLER_RUN)
add_subdirectory(deps) add_subdirectory(deps)
add_definitions(-DHAVE_CONFIG_H=1)
include_directories("${CMAKE_BINARY_DIR}/config")
add_subdirectory(libobs) add_subdirectory(libobs)
if(WIN32) if(WIN32)
......
...@@ -270,6 +270,7 @@ endif() ...@@ -270,6 +270,7 @@ endif()
target_include_directories(libobs PUBLIC target_include_directories(libobs PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/config>"
"$<INSTALL_INTERFACE:${OBS_INCLUDE_DESTINATION}>") "$<INSTALL_INTERFACE:${OBS_INCLUDE_DESTINATION}>")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment