diff --git a/cmake/after_gs_install.cmake b/cmake/after_gs_install.cmake index d7e00af..a3ce693 100644 --- a/cmake/after_gs_install.cmake +++ b/cmake/after_gs_install.cmake @@ -1,4 +1,11 @@ +include_directories( + ${CMAKE_MOD_ELUNA_ENGINE_DIR} + ${CMAKE_MOD_ELUNA_ENGINE_DIR}/LuaEngine + ${CMAKE_MOD_ELUNA_ENGINE_DIR}/lualib +) + + add_dependencies(game lualib) target_link_libraries(game lualib) diff --git a/cmake/after_ws_install.cmake b/cmake/after_ws_install.cmake index 06387bd..91bbc6f 100644 --- a/cmake/after_ws_install.cmake +++ b/cmake/after_ws_install.cmake @@ -1,3 +1,10 @@ + +include_directories( + ${CMAKE_MOD_ELUNA_ENGINE_DIR} + ${CMAKE_MOD_ELUNA_ENGINE_DIR}/LuaEngine + ${CMAKE_MOD_ELUNA_ENGINE_DIR}/lualib +) + if( WIN32 ) if ( MSVC ) add_custom_command(TARGET worldserver