Added CMAKE_FIND_ROOT_PATH test
Merge pull request #2467 from jonessen96/fix-cmake

Add CMAKE_FIND_ROOT_PATH test