From b5cbb42e6274c6f48a57ff3df37858ef4ac358d2 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 19 Jul 2023 18:16:35 +0800 Subject: [PATCH] fix build errors for relwithdebinfo --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf0c6f5b07..473f39a802 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -406,6 +406,7 @@ if(SLIC3R_STATIC) set(TBB_STATIC 1) endif() set(TBB_DEBUG 1) +set(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO RelWithDebInfo Release "") find_package(TBB REQUIRED) # include_directories(${TBB_INCLUDE_DIRS}) # add_definitions(${TBB_DEFINITIONS})