diff --git a/cmake/bx.cmake b/cmake/bx.cmake index 75a0f9b..1c18fe6 100644 --- a/cmake/bx.cmake +++ b/cmake/bx.cmake @@ -29,8 +29,8 @@ endif() # Create the bx target add_library( bx STATIC ${BX_SOURCES} ) -# Link against psapi in Visual Studio -if( MSVC ) +# Link against psapi on Windows +if( WIN32 ) target_link_libraries( bx PUBLIC psapi ) endif()