diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt index a51f576d965..6b5a9a3b67a 100644 --- a/extern/libmv/CMakeLists.txt +++ b/extern/libmv/CMakeLists.txt @@ -26,6 +26,8 @@ # If you're doing changes in this file, please update template # in that script too +add_subdirectory(third_party) + set(INC . ../colamd/Include @@ -243,5 +245,3 @@ add_definitions( ) blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}") - -add_subdirectory(third_party) diff --git a/extern/libmv/bundle.sh b/extern/libmv/bundle.sh index 23e90fc8f7d..27f964ad5b3 100755 --- a/extern/libmv/bundle.sh +++ b/extern/libmv/bundle.sh @@ -122,6 +122,8 @@ cat > CMakeLists.txt << EOF # If you're doing changes in this file, please update template # in that script too +add_subdirectory(third_party) + set(INC . ../colamd/Include