Skip to content

Commit

Permalink
Fix generating non-static-linking projects in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad2001MFS committed Oct 5, 2023
1 parent b71d948 commit 0564f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/xrEngine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ target_link_libraries(${PROJECT_NAME}
xrScriptEngine
xrNetServer
xrImGui
xrRender_GL
xrGame
$<$<BOOL:${STATIC_BUILD}>:xrRender_GL>
$<$<BOOL:${STATIC_BUILD}>:xrGame>
${LUA_LIBRARIES}
${SDL2_LIBRARIES}
${OPENAL_LIBRARY}
Expand Down
2 changes: 1 addition & 1 deletion src/xrScriptEngine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ target_link_libraries(${PROJECT_NAME}
xrCore
xrLuaFix
xrLuabind
xrGame
$<$<BOOL:${STATIC_BUILD}>:xrGame>
${LUA_LIBRARIES}
)

Expand Down

0 comments on commit 0564f33

Please sign in to comment.