Skip to content

Commit

Permalink
Add version-deprecated.h in DERIVED_SOURCES_DIR (CMake)
Browse files Browse the repository at this point in the history
  • Loading branch information
psaavedra committed Dec 3, 2018
1 parent db1d590 commit 06682f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources/wpe")
configure_file(include/wpe/version.h.cmake ${DERIVED_SOURCES_DIR}/version.h @ONLY)
configure_file(include/wpe/version-deprecated.h.cmake ${DERIVED_SOURCES_DIR}/version-deprecated.h @ONLY)

include(DistTargets)
include(GNUInstallDirs)
Expand Down Expand Up @@ -64,6 +65,7 @@ set(WPE_SOURCES

set(WPE_PUBLIC_HEADERS
${DERIVED_SOURCES_DIR}/version.h
${DERIVED_SOURCES_DIR}/version-deprecated.h
include/wpe/export.h
include/wpe/input.h
include/wpe/keysyms.h
Expand Down

0 comments on commit 06682f4

Please sign in to comment.