diff --git a/src/xrEngine/CMakeLists.txt b/src/xrEngine/CMakeLists.txt index a0ce6ff632f..fa6dc843072 100644 --- a/src/xrEngine/CMakeLists.txt +++ b/src/xrEngine/CMakeLists.txt @@ -409,8 +409,8 @@ target_link_libraries(${PROJECT_NAME} xrScriptEngine xrNetServer xrImGui - xrRender_GL - xrGame + $<$:xrRender_GL> + $<$:xrGame> ${LUA_LIBRARIES} ${SDL2_LIBRARIES} ${OPENAL_LIBRARY} diff --git a/src/xrScriptEngine/CMakeLists.txt b/src/xrScriptEngine/CMakeLists.txt index dda26d579cb..989038ed413 100644 --- a/src/xrScriptEngine/CMakeLists.txt +++ b/src/xrScriptEngine/CMakeLists.txt @@ -112,7 +112,7 @@ target_link_libraries(${PROJECT_NAME} xrCore xrLuaFix xrLuabind - xrGame + $<$:xrGame> ${LUA_LIBRARIES} )