|
|
@@ -18,17 +18,15 @@ set(P3DISTORT_SOURCES
|
|
|
pSphereLens.cxx
|
|
|
)
|
|
|
|
|
|
-composite_sources(p3distort P3DISTORT_SOURCES)
|
|
|
-add_component_library(p3distort SYMBOL BUILDING_PANDAFX
|
|
|
- ${P3DISTORT_HEADERS} ${P3DISTORT_SOURCES})
|
|
|
-target_link_libraries(p3distort p3pgraphnodes p3display)
|
|
|
-target_interrogate(p3distort ALL)
|
|
|
+composite_sources(pandafx P3DISTORT_SOURCES)
|
|
|
+add_library(pandafx ${P3DISTORT_HEADERS} ${P3DISTORT_SOURCES})
|
|
|
+set_target_properties(pandafx PROPERTIES DEFINE_SYMBOL BUILDING_PANDAFX)
|
|
|
+target_link_libraries(pandafx panda)
|
|
|
+target_interrogate(pandafx ALL)
|
|
|
|
|
|
-if(NOT BUILD_METALIBS)
|
|
|
- install(TARGETS p3distort
|
|
|
- EXPORT Core COMPONENT Core
|
|
|
- DESTINATION lib
|
|
|
- RUNTIME DESTINATION bin
|
|
|
- ARCHIVE COMPONENT CoreDevel)
|
|
|
-endif()
|
|
|
+install(TARGETS pandafx
|
|
|
+ EXPORT Core COMPONENT Core
|
|
|
+ DESTINATION lib
|
|
|
+ RUNTIME DESTINATION bin
|
|
|
+ ARCHIVE COMPONENT CoreDevel)
|
|
|
install(FILES ${P3DISTORT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)
|