diff --git a/Sources/Plasma/CoreLib/CMakeLists.txt b/Sources/Plasma/CoreLib/CMakeLists.txt index e300eede33..bf6b0e1464 100644 --- a/Sources/Plasma/CoreLib/CMakeLists.txt +++ b/Sources/Plasma/CoreLib/CMakeLists.txt @@ -21,7 +21,7 @@ set(CoreLib_SOURCES plLoadMask.cpp plProduct.cpp plViewTransform.cpp - hsWindows.cpp + $<$:hsWindows.cpp> ) if(CMAKE_USE_WIN32_THREADS_INIT) diff --git a/Sources/Plasma/CoreLib/hsWindows.cpp b/Sources/Plasma/CoreLib/hsWindows.cpp index 5b7bfc0c28..f6274bf91b 100644 --- a/Sources/Plasma/CoreLib/hsWindows.cpp +++ b/Sources/Plasma/CoreLib/hsWindows.cpp @@ -40,8 +40,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ -#ifdef HS_BUILD_FOR_WIN32 - #include "HeadSpin.h" #include "hsWindows.h" #include @@ -93,5 +91,3 @@ const RTL_OSVERSIONINFOEXW& hsGetWindowsVersion() } return s_WinVer; } - -#endif