mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-08-04 12:44:27 +02:00
pack test is almost done, some fixes in cmake files
This commit is contained in:
@@ -34,6 +34,10 @@ else ()
|
||||
message("Qt5 not found, searching for Qt4")
|
||||
find_package(Qt4 REQUIRED)
|
||||
include(${QT_USE_FILE})
|
||||
# Find includes in corresponding build directories
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
# Instruct CMake to run moc automatically when needed.
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(PC_Requires "QtCore")
|
||||
endif ()
|
||||
|
||||
|
Reference in New Issue
Block a user