Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only try to find the Max SDK if it was requested #401

Merged
merged 1 commit into from
Apr 18, 2014

Conversation

zrax
Copy link
Member

@zrax zrax commented Apr 12, 2014

Currently, we look for the Max SDK, and then show an option (disabled by default) to build the plugin only if it was found. This is backwards from how most CMake projects work, so this PR reverses that to allow the user to enable it first, and then require the SDK when they enable it.

@@ -7,8 +7,14 @@ if(PLASMA_BUILD_TOOLS)
endif()
endif()

option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
if (3dsm_BUILD_PLUGIN)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you add that if condition here if the same one comes right after it again?

@dpogue
Copy link
Member

dpogue commented Apr 18, 2014

👍

dpogue added a commit that referenced this pull request Apr 18, 2014
Only try to find the Max SDK if it was requested
@dpogue dpogue merged commit e28d5c3 into H-uru:master Apr 18, 2014
@zrax zrax deleted the max_cmake branch April 27, 2014 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants