Skip to content

Commit

Permalink
Only compile hsWindows.cpp on Windows
Browse files Browse the repository at this point in the history
The file is ifdef'ed out on non-Windows platforms, but it sometimes
causes linker warnings about the file having no symbols.
  • Loading branch information
dpogue committed Nov 5, 2023
1 parent 75a081d commit baa61f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Plasma/CoreLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set(CoreLib_SOURCES
plLoadMask.cpp
plProduct.cpp
plViewTransform.cpp
hsWindows.cpp
$<$<PLATFORM_ID:Windows>:hsWindows.cpp>
)

if(CMAKE_USE_WIN32_THREADS_INIT)
Expand Down

0 comments on commit baa61f0

Please sign in to comment.