diff options
Diffstat (limited to 'CMake/FindCMocka.cmake')
-rw-r--r-- | CMake/FindCMocka.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMake/FindCMocka.cmake b/CMake/FindCMocka.cmake index 6a5484e..79ebeb8 100644 --- a/CMake/FindCMocka.cmake +++ b/CMake/FindCMocka.cmake @@ -21,9 +21,8 @@ #=============================================================================
#
-
-set (CMOCKA_ROOT_DIR
- "../../external/x86/cmocka")
+set(CMOCKA_ROOT_DIR
+ "$ENV{XTCEXTERNALROOT}/${XTRKCAD_ARCH_SUBDIR}/cmocka")
find_path(CMOCKA_INCLUDE_DIR
NAMES
|