mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Only try to find the Max SDK if it was requested (and show the option to try to build it always)
This commit is contained in:
@ -8,7 +8,10 @@ if(PLASMA_BUILD_TOOLS)
|
||||
endif()
|
||||
|
||||
# Max Stuff goes below here...
|
||||
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
|
||||
if(3dsm_BUILD_PLUGIN)
|
||||
find_package(MaxSDK REQUIRED)
|
||||
add_definitions(-DBUILDING_MAXPLUGIN)
|
||||
add_definitions(-DMAXPLUGINCODE)
|
||||
|
||||
add_subdirectory(MaxComponent)
|
||||
|
Reference in New Issue
Block a user