Skip to content

Commit

Permalink
Fix Lua include
Browse files Browse the repository at this point in the history
  • Loading branch information
mikke89 committed Jun 18, 2021
1 parent 98271c4 commit 58237e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,10 @@ endif()
if(BUILD_LUA_BINDINGS)
if(NOT BUILD_FRAMEWORK)
target_link_libraries(RmlLua RmlCore ${LUA_BINDINGS_LINK_LIBS})
target_include_directories(RmlLua PRIVATE ${LUA_BINDINGS_INCLUDE_DIRS})
target_include_directories(RmlLua PUBLIC ${LUA_BINDINGS_INCLUDE_DIRS})
else()
target_link_libraries(RmlUi ${LUA_BINDINGS_LINK_LIBS})
target_include_directories(RmlUi PRIVATE ${LUA_BINDINGS_INCLUDE_DIRS})
target_include_directories(RmlUi PUBLIC ${LUA_BINDINGS_INCLUDE_DIRS})
endif()
endif()

Expand Down

0 comments on commit 58237e1

Please sign in to comment.