Skip to content
Permalink
Browse files

Qt: Mark git-version.cpp to skip automoc.

Fixes #10829.
  • Loading branch information...
unknownbrackets committed Jun 3, 2018
1 parent 07e178a commit ef08c81a6f3cafa70fca4cda99a8215faf89c3dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -1701,7 +1701,6 @@ add_library(${CoreLibName} ${CoreLinkType}
Core/Util/ppge_atlas.h
${CORE_NEON}
${GPU_SOURCES}
git-version.cpp
ext/disarm.cpp
git-version.cpp)

@@ -1751,7 +1750,8 @@ add_custom_command(OUTPUT something_that_never_exists
-P ${CMAKE_CURRENT_SOURCE_DIR}/git-version.cmake)

set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/git-version.cpp
PROPERTIES GENERATED TRUE)
PROPERTIES GENERATED TRUE
SKIP_AUTOMOC ON)
add_dependencies(${CoreLibName} GitVersion)

set(WindowsFiles

0 comments on commit ef08c81

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.