From d0e517ebe40ac645c06e7086626d5b119a4e464c Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Mon, 7 Dec 2020 12:36:40 +0100 Subject: [PATCH] configure cmake file even if QT5 is not found --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 514b6e91..4ac580a5 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ endif() # Only call fixbundle, when we are building OpenMesh standalone if(${PROJECT_NAME} MATCHES "OpenMesh") - if (WIN32 AND BUILD_APPS AND QT5_FOUND) + if (WIN32 AND BUILD_APPS) # prepare bundle generation cmake file and add a build target for it configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/cmake/fixbundle.cmake.win.in" "${CMAKE_CURRENT_BINARY_DIR}/fixbundle.win.cmake" @ONLY IMMEDIATE) @@ -167,7 +167,7 @@ if(${PROJECT_NAME} MATCHES "OpenMesh") endif() # On apple we do a fixbundle, which is only necessary for the apps and not for the libs - if (APPLE AND BUILD_APPS AND QT5_FOUND) + if (APPLE AND BUILD_APPS) # prepare bundle generation cmake file and add a build target for it configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.in" "${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)