From c264ff05da4ac654013a785de4661c94c070a3c4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 23 Apr 2018 18:46:18 +0300 Subject: [PATCH] All platform-specific headers are referenced by generated projects This was already the case on Windows anyway --- src/CMakeLists.txt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 41f9f03ccb..79c4856fa3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -637,19 +637,7 @@ add_definitions(-DADLMIDI_DISABLE_MUS_SUPPORT -DADLMIDI_DISABLE_XMI_SUPPORT -DAD # Project files should be aware of the header files. We can GLOB these since # there's generally a new cpp for every header so this file will get changed -if( WIN32 ) - set( EXTRA_HEADER_DIRS win32/*.h ) -elseif( APPLE ) - if( OSX_COCOA_BACKEND ) - set( EXTRA_HEADER_DIRS posix/*.h posix/cocoa/*.h ) - else() - set( EXTRA_HEADER_DIRS posix/*.h posix/sdl/*.h ) - endif() -else() - set( EXTRA_HEADER_DIRS posix/*.h posix/sdl/*.h ) -endif() file( GLOB HEADER_FILES - ${EXTRA_HEADER_DIRS} fragglescript/*.h g_shared/*.h g_statusbar/*.h @@ -663,6 +651,7 @@ file( GLOB HEADER_FILES posix/*.h posix/cocoa/*.h posix/sdl/*.h + win32/*.h r_data/*.h r_data/models/*.h rapidjson/*.h