Skip to content
Snippets Groups Projects

Minor CMakeLists fix

Closed Peter Esser requested to merge pesser into master
1 unresolved thread
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -25,8 +25,8 @@ find_package(ZLIB REQUIRED)
link_directories(${ZLIB_INCLUDE_DIRS})
target_link_libraries(lava-vr PUBLIC ${ZLIB_LIBRARIES})
target_include_directories(lava-vr PUBLIC ./src)
target_link_libraries(lava-vr PUBLIC lava lava-extras-openvr lava-extras-pipeline lava-extras-geometry lava-extras-pack lava-extras-imgui zlib)
target_include_directories(lava-vr PUBLIC ./src ${ZLIB_INCLUDE_DIRS})
    • Would be cool to turn ZLIB into an (CMAKE) interface library. Then all the link/include shenanigans would be handled by just linking to zlib.

Please register or sign in to reply
target_link_libraries(lava-vr PUBLIC lava lava-extras-openvr lava-extras-pipeline lava-extras-geometry lava-extras-pack lava-extras-imgui)
if (TARGET glm_static)
target_link_libraries(lava-vr PRIVATE glm_static)
Loading