From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake (limited to 'src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake') diff --git a/src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake b/src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake new file mode 100644 index 0000000..d5c1f15 --- /dev/null +++ b/src/mesh/assimp-master/cmake-modules/MinGW_x86_64.cmake @@ -0,0 +1,16 @@ +# this one sets internal to crosscompile (in theory) +SET(CMAKE_SYSTEM_NAME Windows) + +# the minimalistic settings +SET(CMAKE_C_COMPILER "/usr/bin/x86_64-w64-mingw32-gcc") +SET(CMAKE_CXX_COMPILER "/usr/bin/x86_64-w64-mingw32-g++") +SET(CMAKE_RC_COMPILER "/usr/bin/x86_64-w64-mingw32-windres") + +# where is the target (so called staging) environment +SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32) + +# search for programs in the build host directories (default BOTH) +#SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +# for libraries and headers in the target directories +SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -- cgit v1.2.1