all repos — mgba @ 29fc9591dcbee3d892b359abce6790cf2b3d3155

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

29fc9591dcbee3d892b359abce6790cf2b3d3155

parent

c623970d0feeb61fdfa13c513468907dbd55c0f6

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)