From 2c9ce5f31612f9d5fc1c52088254cdbf96c671fb Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Thu, 13 Oct 2022 11:52:39 -0700 Subject: [PATCH] Includes pause.h in spectate's cmake as to.. "changes to the header file will trigger recompliation" --- plugins/spectate/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/spectate/CMakeLists.txt b/plugins/spectate/CMakeLists.txt index 5ba1ed9cf..15e5cb172 100644 --- a/plugins/spectate/CMakeLists.txt +++ b/plugins/spectate/CMakeLists.txt @@ -1,8 +1,11 @@ project(spectate) +set_source_files_properties(pause.h PROPERTIES HEADER_FILE_ONLY TRUE) + SET(SOURCES spectate.cpp + pause.h pause.cpp) dfhack_plugin(${PROJECT_NAME} ${SOURCES} LINK_LIBRARIES lua)