mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
CMake: vrpn (and its igate module) require -fexceptions
Per #development comment by rdb earlier today
This commit is contained in:
parent
13a19109d4
commit
d77ad6d0ed
@ -139,6 +139,7 @@ if(INTERROGATE_PYTHON_INTERFACE)
|
|||||||
|
|
||||||
if(HAVE_VRPN)
|
if(HAVE_VRPN)
|
||||||
add_python_module(panda3d.vrpn p3vrpn IMPORT panda3d.core COMPONENT VRPNPython)
|
add_python_module(panda3d.vrpn p3vrpn IMPORT panda3d.core COMPONENT VRPNPython)
|
||||||
|
set_target_properties(panda3d.vrpn PROPERTIES CXX_EXCEPTIONS ON)
|
||||||
|
|
||||||
export_targets(VRPNPython NAMESPACE "Panda3D::Python::" COMPONENT VRPNDevel)
|
export_targets(VRPNPython NAMESPACE "Panda3D::Python::" COMPONENT VRPNDevel)
|
||||||
endif()
|
endif()
|
||||||
|
@ -35,6 +35,8 @@ set_target_properties(p3vrpn PROPERTIES DEFINE_SYMBOL BUILDING_VRPN)
|
|||||||
target_link_libraries(p3vrpn panda PKG::VRPN)
|
target_link_libraries(p3vrpn panda PKG::VRPN)
|
||||||
target_interrogate(p3vrpn ALL)
|
target_interrogate(p3vrpn ALL)
|
||||||
|
|
||||||
|
set_target_properties(p3vrpn PROPERTIES CXX_EXCEPTIONS ON)
|
||||||
|
|
||||||
install(TARGETS p3vrpn
|
install(TARGETS p3vrpn
|
||||||
EXPORT VRPN COMPONENT VRPN
|
EXPORT VRPN COMPONENT VRPN
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user