diff --git a/cmake/bx.cmake b/cmake/bx.cmake index d7b7e1a..80e50ce 100644 --- a/cmake/bx.cmake +++ b/cmake/bx.cmake @@ -35,20 +35,31 @@ if( WIN32 ) target_link_libraries( bx PUBLIC psapi ) endif() +include(GNUInstallDirs) + # Add include directory of bx target_include_directories( bx PUBLIC $ $ - $) + $ ) # Build system specific configurations if( MSVC ) - target_include_directories( bx PUBLIC $ ) + target_include_directories( bx + PUBLIC + $ + $ ) elseif( MINGW ) - target_include_directories( bx PUBLIC $ ) + target_include_directories( bx + PUBLIC + $ + $ ) elseif( APPLE ) - target_include_directories( bx PUBLIC $ ) + target_include_directories( bx + PUBLIC + $ + $ ) endif() # All configurations