diff --git a/CMakeLists.txt b/CMakeLists.txt index ac74c178..9f9c2278 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/src/nostalgia/studio/lib/CMakeLists.txt b/src/nostalgia/studio/lib/CMakeLists.txt index da9f37d0..20795f82 100644 --- a/src/nostalgia/studio/lib/CMakeLists.txt +++ b/src/nostalgia/studio/lib/CMakeLists.txt @@ -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 )