From 10df006b11a72bf40bc7149b1a3ad89c60f3fdf6 Mon Sep 17 00:00:00 2001 From: Ayase <137056643@qq.com> Date: Fri, 4 May 2018 23:37:56 +0800 Subject: [PATCH] some change --- cmake/after_gs_install.cmake | 7 +++++++ cmake/after_ws_install.cmake | 7 +++++++ 2 files changed, 14 insertions(+) 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