-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix variety of issues in pxrConfig.cmake
- Fix broken checks for empty strings. In CMake all strings except for certain special constants evaluate to False. This caused the various Python arguments to not be set properly. - Use bracket arguments for file paths to avoid string parsing issues. On Windows, paths with backslashes could cause string parsing errors since they would mistakenly be interpreted as containing invalid escape sequences. CMake does not evaluate escape sequences in bracket arguments, sidestepping this problem. Fixes #2091 (Internal change: 2256678)
- Loading branch information
Showing
1 changed file
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters