1
0
forked from blue/lmdbal

a little fix for building as subdirectory

This commit is contained in:
Blue 2024-01-31 10:13:27 -03:00
parent 6b475f615e
commit 79240aa535
Signed by untrusted user: blue
GPG Key ID: 9B203B252A63EE38

View File

@ -21,7 +21,7 @@ include(CMakePackageConfigHelpers)
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
if (NOT DEFINED QT_VERSION_MAJOR)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)