diff --git a/cmake/bx.cmake b/cmake/bx.cmake index e061552..ca9b5f8 100644 --- a/cmake/bx.cmake +++ b/cmake/bx.cmake @@ -45,21 +45,16 @@ target_include_directories( bx $ ) # Build system specific configurations -if( MSVC ) - target_include_directories( bx - PUBLIC - $ - $ ) -elseif ( NOT MSVC AND CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MINGW ) # clang still uses msvc headers on windows. - target_include_directories( bx - PUBLIC - $ - $ ) -elseif( MINGW ) +if( MINGW ) target_include_directories( bx PUBLIC $ $ ) +elseif( WIN32 ) + target_include_directories( bx + PUBLIC + $ + $ ) elseif( APPLE ) target_include_directories( bx PUBLIC