panda3d/pandatool/src/objprogs/CMakeLists.txt
2018-12-29 02:51:53 -07:00

12 lines
385 B
CMake

if(NOT HAVE_EGG)
return()
endif()
add_executable(egg2obj eggToObj.cxx eggToObj.h)
target_link_libraries(egg2obj p3objegg p3eggbase)
install(TARGETS egg2obj EXPORT Tools COMPONENT Tools DESTINATION bin)
add_executable(obj2egg objToEgg.cxx objToEgg.h)
target_link_libraries(obj2egg p3objegg p3eggbase p3progbase)
install(TARGETS obj2egg EXPORT Tools COMPONENT Tools DESTINATION bin)