aboutsummaryrefslogtreecommitdiff
path: root/sdk/compiler/cmake/modules/FindFBXSDK.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/compiler/cmake/modules/FindFBXSDK.cmake')
-rw-r--r--sdk/compiler/cmake/modules/FindFBXSDK.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdk/compiler/cmake/modules/FindFBXSDK.cmake b/sdk/compiler/cmake/modules/FindFBXSDK.cmake
index 7e1bfb4..5b6b0a4 100644
--- a/sdk/compiler/cmake/modules/FindFBXSDK.cmake
+++ b/sdk/compiler/cmake/modules/FindFBXSDK.cmake
@@ -10,7 +10,9 @@ include(FindPackageHandleStandardArgs)
# TODO: Do the version stuff properly!
find_path(FBXSDK_PATH include/fbxsdk.h
- PATHS ${GW_DEPS_ROOT}/FBXSDK/${FBXSDK_FIND_VERSION}
+ PATHS
+ $ENV{PM_FBXSDK_PATH}
+ ${GW_DEPS_ROOT}/FBXSDK/${FBXSDK_FIND_VERSION}
)
if (STATIC_WINCRT)