From 6ab70b57cc82a739ffcdea370e4fa3a497ed0e66 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 7 May 2021 18:42:45 +0000 Subject: [PATCH] Clean up code. --- cmake/bx.cmake | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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