From c2cf8c725bc6f6301b336e83e5e623e4ca1221c5 Mon Sep 17 00:00:00 2001 From: Tom Spyrou Date: Wed, 20 Nov 2019 06:48:49 -0800 Subject: [PATCH 1/2] Update install target to also install the /etc directory with the flute magic files. Its expected these will go away soon but installing the /etc directory is typically done. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c52de1289c..f804b8c2bdd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,3 +64,4 @@ configure_file( ################################################################ add_subdirectory(src) +INSTALL( DIRECTORY etc DESTINATION .) From 6cbc263fbcc12eb93619b74498bc84c0abb6cd47 Mon Sep 17 00:00:00 2001 From: Tom Spyrou Date: Wed, 20 Nov 2019 07:29:27 -0800 Subject: [PATCH 2/2] Add specific files from /etc dir to the install --- CMakeLists.txt | 1 - src/CMakeLists.txt | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f804b8c2bdd..2c52de1289c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,4 +64,3 @@ configure_file( ################################################################ add_subdirectory(src) -INSTALL( DIRECTORY etc DESTINATION .) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b7ce927559c..5b39166eb7f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -198,6 +198,9 @@ target_compile_options(openroad PUBLIC ${COMPILE_OPTIONS}) # executable install(TARGETS openroad DESTINATION bin) +# etc magic flute files +INSTALL( FILES ../etc/POST9.dat DESTINATION etc) +INSTALL( FILES ../etc/POWV9.dat DESTINATION etc) ################################################################