From e775757015ea56afa42c2070c4ab8d0299d3c546 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 14 Aug 2022 21:09:59 -0400 Subject: [PATCH] Correct path for windows build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb8d10..48b8863 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,7 +190,7 @@ if(WIN32) endif() if(MSVC AND TARGET Qt6::qmake) set(VSUSER_FILE ${CMAKE_CURRENT_BINARY_DIR}/qtk-main.vcxproj.user) - file(TO_NATIVE_PATH "${ASSIMP_INSTALL_DIR}/bin" assimp_bin) + file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/extern/assimp/assimp/bin" assimp_bin) file(WRITE ${VSUSER_FILE} "\n") file(APPEND ${VSUSER_FILE} "\n") file(APPEND ${VSUSER_FILE} " \n")