From bae1e40ceb9aead8b7ee65f351c3b37ab5557258 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 21 May 2022 14:32:41 -0300 Subject: [PATCH] build: fix netanim build and program output path --- build-support/3rd-party/netanim-cmakelists.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-support/3rd-party/netanim-cmakelists.cmake b/build-support/3rd-party/netanim-cmakelists.cmake index 05e59d21e..ce72c733a 100644 --- a/build-support/3rd-party/netanim-cmakelists.cmake +++ b/build-support/3rd-party/netanim-cmakelists.cmake @@ -18,6 +18,8 @@ find_package(Qt4 COMPONENTS QtGui QUIET) find_package(Qt5 COMPONENTS Core Widgets PrintSupport Gui QUIET) +add_definitions(-Wno-error=misleading-indentation) + if((NOT ${Qt4_FOUND}) AND (NOT ${Qt5_FOUND})) message(FATAL_ERROR "You need Qt installed to build NetAnim") endif() @@ -188,4 +190,4 @@ else() endif() target_include_directories(netanim PUBLIC qtpropertybrowser/src) -set_runtime_outputdirectory(netanim ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/bin "") +set_runtime_outputdirectory(netanim ${CMAKE_OUTPUT_DIRECTORY}/bin/ "")