all repos — mgba @ 8e46e0ea79d601ed57eab0ee365bc8a9525ed7fb

mGBA Game Boy Advance Emulator

Qt: Disable CMake policy CMP0071 (fixes #1028)
Vicki Pfau vi@endrift.com
Fri, 30 Mar 2018 22:43:26 -0700
commit

8e46e0ea79d601ed57eab0ee365bc8a9525ed7fb

parent

16eed8ed34d6cbe366fce2d2335b04418c489031

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -17,6 +17,10 @@ list(APPEND PLATFORM_SRC ${PLATFORM_SRC} ${CMAKE_SOURCE_DIR}/src/platform/sdl/sdl-events.c ${CMAKE_SOURCE_DIR}/src/platform/sdl/sdl-audio.c)

include_directories(${SDL_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/src/platform/sdl) endif() +if(POLICY CMP0071) + cmake_policy(SET CMP0071 OLD) +endif() + set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)