workaround in #857 allows this to build. see also #852, a complete solution that covers Qt5 is requiredpull/907/head
parent
db8bd3763a
commit
dd34bab1b4
@ -0,0 +1,21 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
# partial module - included by src/cmake/CMakeLists.txt
|
||||
|
||||
set(TGT test-${PKG}-cmake)
|
||||
|
||||
enable_language(CXX)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
find_package(Qt4 ${PKG_VERSION} EXACT REQUIRED)
|
||||
include(${QT_USE_FILE})
|
||||
|
||||
add_executable(${TGT} WIN32 ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
|
||||
target_link_libraries(${TGT} ${QT_LIBRARIES})
|
||||
|
||||
install(TARGETS ${TGT} DESTINATION bin)
|
Loading…
Reference in new issue