Skip to content

Instantly share code, notes, and snippets.

@nezticle
Created January 2, 2013 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nezticle/4436168 to your computer and use it in GitHub Desktop.
Save nezticle/4436168 to your computer and use it in GitHub Desktop.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 333dc15..a08cd55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.9)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
+set(CMAKE_AUTOMOC ON)
# Set version
set(SWORDFISH_VERSION_MAJOR 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment