diff --git a/cmake/osxcross64.toolchain b/cmake/osxcross64.toolchain index dca3faf..aaa96b6 100644 --- a/cmake/osxcross64.toolchain +++ b/cmake/osxcross64.toolchain @@ -15,12 +15,12 @@ endif() set(CMAKE_C_COMPILER ${OSXCROSS_PATH}/bin/o64-clang) set(CMAKE_CXX_COMPILER ${OSXCROSS_PATH}/bin/o64-clang++) -set(CMAKE_LINKER ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ld) -set(CMAKE_AR ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ar) -set(CMAKE_RANLIB ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ranlib) -set(CMAKE_STRIP ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-strip) -set(CMAKE_NM ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-nm) -set(CMAKE_INSTALL_NAME_TOOL ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-install_name_tool) +set(CMAKE_LINKER ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ld CACHE FILEPATH "") +set(CMAKE_AR ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ar CACHE FILEPATH "") +set(CMAKE_RANLIB ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-ranlib CACHE FILEPATH "") +set(CMAKE_STRIP ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-strip CACHE FILEPATH "") +set(CMAKE_NM ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-nm CACHE FILEPATH "") +set(CMAKE_INSTALL_NAME_TOOL ${OSXCROSS_PATH}/bin/x86_64-apple-darwin15-install_name_tool CACHE FILEPATH "") set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)