[nostalgia/studio] Fix symbol export issues for MSVC

This commit is contained in:
Gary Talent 2020-02-15 12:34:31 -06:00
parent 36b6542bf3
commit 5c710051c5
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
set(OX_USE_STDLIB OFF)
else()
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${NOSTALGIA_QT_PATH})
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()

View File

@ -34,7 +34,7 @@ install(
wizard.hpp
plugin.hpp
project.hpp
${PROJECT_BINARY_DIR}/nostalgiastudio_export.h
${CMAKE_CURRENT_BINARY_DIR}/nostalgiastudio_export.h
DESTINATION
include/nostalgia/studio/lib
)