mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
CMake: Fix p3pgraph build with MSVC+Eigen
This commit is contained in:
parent
5b4ea0e277
commit
f7ac439eb1
@ -230,6 +230,11 @@ add_component_library(p3pgraph SYMBOL BUILDING_PANDA_PGRAPH
|
||||
target_link_libraries(p3pgraph p3gobj p3event p3gsgbase p3putil p3linmath pandaexpress)
|
||||
target_interrogate(p3pgraph ALL EXTENSIONS ${P3PGRAPH_IGATEEXT})
|
||||
|
||||
if(HAVE_EIGEN)
|
||||
# Eigen puts this over the threshold where bigobj is needed on MSVC
|
||||
set_target_properties(p3pgraph PROPERTIES MSVC_BIGOBJ ON)
|
||||
endif()
|
||||
|
||||
if(NOT BUILD_METALIBS)
|
||||
install(TARGETS p3pgraph
|
||||
EXPORT Core COMPONENT Core
|
||||
|
Loading…
x
Reference in New Issue
Block a user