From 4f79310084e6cb80a7715843a33f718891b460ef Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 9 Jul 2020 23:13:26 -0500 Subject: [PATCH] [nostalgia/core] Fix NostalgiaCore library install location --- src/nostalgia/core/CMakeLists.txt | 8 ++++++++ src/nostalgia/core/sdl/CMakeLists.txt | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/core/CMakeLists.txt b/src/nostalgia/core/CMakeLists.txt index b378b5b7..5220b9de 100644 --- a/src/nostalgia/core/CMakeLists.txt +++ b/src/nostalgia/core/CMakeLists.txt @@ -32,3 +32,11 @@ install( DESTINATION include/nostalgia/core ) + +install( + TARGETS + NostalgiaCore + DESTINATION + LIBRARY DESTINATION lib/nostalgia + ARCHIVE DESTINATION lib/nostalgia +) diff --git a/src/nostalgia/core/sdl/CMakeLists.txt b/src/nostalgia/core/sdl/CMakeLists.txt index 5f48099e..15ecbc91 100644 --- a/src/nostalgia/core/sdl/CMakeLists.txt +++ b/src/nostalgia/core/sdl/CMakeLists.txt @@ -19,5 +19,6 @@ install( TARGETS NostalgiaCore-SDL DESTINATION - include/nostalgia/core + LIBRARY DESTINATION lib/nostalgia + ARCHIVE DESTINATION lib/nostalgia )