[nostalgia/studio] Fix Studio lib install location

This commit is contained in:
Gary Talent 2022-03-19 19:34:04 -05:00
parent 96ca0cb686
commit 3041ce55f6

View File

@ -25,8 +25,13 @@ if(NOT MSVC)
target_compile_options(NostalgiaStudio PUBLIC -Wsign-conversion)
endif()
install(TARGETS NostalgiaStudio
LIBRARY DESTINATION ${NOSTALGIA_DIST_LIB}/nostalgia)
install(
TARGETS
NostalgiaStudio
DESTINATION
LIBRARY DESTINATION lib/nostalgia
ARCHIVE DESTINATION lib/nostalgia
)
generate_export_header(NostalgiaStudio)
target_include_directories(NostalgiaStudio PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
@ -52,7 +57,7 @@ install(
module.hpp
project.hpp
task.hpp
undostack.hpp
undostack.hpp
widget.hpp
window.hpp
${CMAKE_CURRENT_BINARY_DIR}/nostalgiastudio_export.h