Skip to content
Snippets Groups Projects
Commit c00d8605 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

fix assimp issue

parent aed6ae46
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,10 @@ endif ()
find_package(assimp REQUIRED)
add_library(assimp_interface INTERFACE)
set_target_properties(assimp_interface PROPERTIES
INTERFACE_LINK_LIBRARIES "${ASSIMP_LIBRARIES}"
INTERFACE_LINK_LIBRARIES assimp
INTERFACE_INCLUDE_DIRECTORIES "${ASSIMP_INCLUDE_DIRS}"
INTERFACE_LINK_DIRECTORIES "${ASSIMP_LIBRARY_DIRS}")
add_library(assimp::assimp ALIAS assimp_interface)
target_link_libraries(VirtualRobot PUBLIC assimp::assimp)
target_link_libraries(VirtualRobot PUBLIC assimp_interface)
if (Simox_USE_COIN_VISUALIZATION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment