Skip to content

Commit

Permalink
Fix WinRTComponent dll name
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle committed Sep 22, 2024
1 parent 44575bf commit 2787ef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Generator/InteropTests/WinRTComponent/Dll/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ execute_process(

# Build WinRTComponent.dll
file(GLOB SOURCES "*.cpp")
add_library(WinRTComponentDll SHARED
add_library(WinRTComponent SHARED
${SOURCES}
"${CPPWINRT_GENERATED_DIR}/module.g.cpp" # Other .g.cpp files are #included by our .cpp files
WinRTComponent.def)
target_include_directories(WinRTComponentDll PRIVATE
target_include_directories(WinRTComponent PRIVATE
"${CMAKE_CURRENT_SOURCES_DIR}"
"${CPPWINRT_GENERATED_DIR}")
target_precompile_headers(WinRTComponentDll PRIVATE pch.h)
target_precompile_headers(WinRTComponent PRIVATE pch.h)

0 comments on commit 2787ef7

Please sign in to comment.